Mercurial > projects > dstep
comparison dstep/foundation/NSObjectScripting.d @ 14:89f3c3ef1fd2
Added the Foundation framework
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 03 Aug 2009 15:23:15 +0200 |
parents | |
children | 19885b43130e |
comparison
equal
deleted
inserted
replaced
13:4f583f7e242e | 14:89f3c3ef1fd2 |
---|---|
1 /** | |
2 * Copyright: Copyright (c) 2009 Jacob Carlborg. | |
3 * Authors: Jacob Carlborg | |
4 * Version: Initial created: Aug 3, 2009 | |
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) | |
6 */ | |
7 module dstep.foundation.NSObjectScripting; | |
8 | |
9 import dstep.foundation.NSDictionary; | |
10 import dstep.foundation.NSObject; | |
11 import dstep.foundation.NSScriptObjectSpecifier; | |
12 import dstep.objc.bridge.Bridge; | |
13 import dstep.objc.objc : id; | |
14 | |
15 template TNSScripting () | |
16 { | |
17 Object scriptingValueForSpecifier (NSScriptObjectSpecifier objectSpecifier); | |
18 NSDictionary scriptingProperties (); | |
19 void setScriptingProperties (NSDictionary properties); | |
20 Object copyScriptingValue (Object value, NSString key, NSDictionary properties); | |
21 Object newScriptingObjectOfClass (Class objectClass, NSString key, Object contentsValue, NSDictionary properties); | |
22 } | |
23 |