Mercurial > projects > dstep
comparison dstep/foundation/NSScriptCommand.d @ 15:7ff919f595d5
Added the Foundation framework, again
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 03 Aug 2009 15:31:48 +0200 |
parents | 89f3c3ef1fd2 |
children | 19885b43130e |
comparison
equal
deleted
inserted
replaced
14:89f3c3ef1fd2 | 15:7ff919f595d5 |
---|---|
151 return invokeObjcSelf!(NSString, "scriptErrorString"); | 151 return invokeObjcSelf!(NSString, "scriptErrorString"); |
152 } | 152 } |
153 | 153 |
154 static NSScriptCommand currentCommand () | 154 static NSScriptCommand currentCommand () |
155 { | 155 { |
156 return invokeObjcSelfClass!(NSScriptCommand, "currentCommand"return result is this.objcObject ? this : (result !is null ? new NSScriptCommand(result) : null); } | 156 return invokeObjcSelfClass!(NSScriptCommand, "currentCommand"); |
157 } | |
157 | 158 |
158 NSAppleEventDescriptor appleEvent () | 159 NSAppleEventDescriptor appleEvent () |
159 { | 160 { |
160 return invokeObjcSelf!(NSAppleEventDescriptor, "appleEvent"); | 161 return invokeObjcSelf!(NSAppleEventDescriptor, "appleEvent"); |
161 } | 162 } |