Mercurial > projects > dstep
comparison dstep/appkit/NSWindowController.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 | f8a3b67adfcb |
children |
comparison
equal
deleted
inserted
replaced
24:ab33fc0c3fc1 | 25:b9de51448c6b |
---|---|
17 import dstep.objc.bridge.Bridge; | 17 import dstep.objc.bridge.Bridge; |
18 import dstep.objc.objc; | 18 import dstep.objc.objc; |
19 | 19 |
20 class NSWindowController : NSResponder, INSCoding | 20 class NSWindowController : NSResponder, INSCoding |
21 { | 21 { |
22 mixin (ObjcWrap); | 22 mixin ObjcWrap; |
23 | |
24 this (id object) | |
25 { | |
26 super(object); | |
27 } | |
23 | 28 |
24 this (NSCoder aDecoder) | 29 this (NSCoder aDecoder) |
25 { | 30 { |
26 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); | 31 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); |
27 } | 32 } |