Mercurial > projects > dstep
comparison dstep/foundation/NSCalendar.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 |
---|---|
45 NSUndefinedDateComponent = 2147483647L | 45 NSUndefinedDateComponent = 2147483647L |
46 } | 46 } |
47 | 47 |
48 class NSDateComponents : NSObject, INSCopying, INSCoding | 48 class NSDateComponents : NSObject, INSCopying, INSCoding |
49 { | 49 { |
50 mixin (ObjcWrap); | 50 mixin ObjcWrap; |
51 | |
52 this (id object) | |
53 { | |
54 super(object); | |
55 } | |
51 | 56 |
52 this () | 57 this () |
53 { | 58 { |
54 super(typeof(this).alloc.init.objcObject); | 59 super(typeof(this).alloc.init.objcObject); |
55 } | 60 } |
180 } | 185 } |
181 } | 186 } |
182 | 187 |
183 class NSCalendar : NSObject, INSCopying, INSCoding | 188 class NSCalendar : NSObject, INSCopying, INSCoding |
184 { | 189 { |
185 mixin (ObjcWrap); | 190 mixin ObjcWrap; |
191 | |
192 this (id object) | |
193 { | |
194 super(object); | |
195 } | |
186 | 196 |
187 this () | 197 this () |
188 { | 198 { |
189 super(typeof(this).alloc.init.objcObject); | 199 super(typeof(this).alloc.init.objcObject); |
190 } | 200 } |