Mercurial > projects > dstep
comparison dstep/quartzcore/CATransaction.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 |
---|---|
36 return kCATransactionDisableActions_ = new NSString(bindings.kCATransactionDisableActions); | 36 return kCATransactionDisableActions_ = new NSString(bindings.kCATransactionDisableActions); |
37 } | 37 } |
38 | 38 |
39 class CATransaction : NSObject | 39 class CATransaction : NSObject |
40 { | 40 { |
41 mixin (ObjcWrap); | 41 mixin ObjcWrap; |
42 | |
43 this (id object) | |
44 { | |
45 super(object); | |
46 } | |
42 | 47 |
43 static void begin () | 48 static void begin () |
44 { | 49 { |
45 return invokeObjcSelfClass!(void, "begin"); | 50 return invokeObjcSelfClass!(void, "begin"); |
46 } | 51 } |