comparison dstep/appkit/NSMovie.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
13 import dstep.objc.objc; 13 import dstep.objc.objc;
14 import dstep.qtkit.QTMovie; 14 import dstep.qtkit.QTMovie;
15 15
16 class NSMovie : NSObject, INSCoding 16 class NSMovie : NSObject, INSCoding
17 { 17 {
18 mixin (ObjcWrap); 18 mixin ObjcWrap;
19
20 this (id object)
21 {
22 super(object);
23 }
19 24
20 this (NSCoder aDecoder) 25 this (NSCoder aDecoder)
21 { 26 {
22 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); 27 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject);
23 } 28 }