Mercurial > projects > dstep
comparison dstep/foundation/NSScriptExecutionContext.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 |
---|---|
15 { | 15 { |
16 mixin ObjcWrap; | 16 mixin ObjcWrap; |
17 | 17 |
18 static NSScriptExecutionContext sharedScriptExecutionContext () | 18 static NSScriptExecutionContext sharedScriptExecutionContext () |
19 { | 19 { |
20 return invokeObjcSelfClass!(NSScriptExecutionContext, "sharedScriptExecutionContext"return result is this.objcObject ? this : (result !is null ? new NSScriptExecutionContext(result) : null); } | 20 return invokeObjcSelfClass!(NSScriptExecutionContext, "sharedScriptExecutionContext"); |
21 } | |
21 | 22 |
22 Object topLevelObject () | 23 Object topLevelObject () |
23 { | 24 { |
24 return invokeObjcSelf!(Object, "topLevelObject"); | 25 return invokeObjcSelf!(Object, "topLevelObject"); |
25 } | 26 } |