Mercurial > projects > dstep
comparison dstep/foundation/NSScriptCoercionHandler.d @ 25:b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 06 Apr 2010 11:37:27 +0200 |
parents | 19885b43130e |
children |
comparison
equal
deleted
inserted
replaced
24:ab33fc0c3fc1 | 25:b9de51448c6b |
---|---|
10 import dstep.objc.bridge.Bridge; | 10 import dstep.objc.bridge.Bridge; |
11 import dstep.objc.objc; | 11 import dstep.objc.objc; |
12 | 12 |
13 class NSScriptCoercionHandler : NSObject | 13 class NSScriptCoercionHandler : NSObject |
14 { | 14 { |
15 mixin (ObjcWrap); | 15 mixin ObjcWrap; |
16 | |
17 this (id object) | |
18 { | |
19 super(object); | |
20 } | |
16 | 21 |
17 this () | 22 this () |
18 { | 23 { |
19 super(typeof(this).alloc.init.objcObject); | 24 super(typeof(this).alloc.init.objcObject); |
20 } | 25 } |