comparison dstep/appkit/NSPredicateEditorRowTemplate.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
18 import dstep.objc.bridge.Bridge; 18 import dstep.objc.bridge.Bridge;
19 import dstep.objc.objc; 19 import dstep.objc.objc;
20 20
21 class NSPredicateEditorRowTemplate : NSObject, INSCoding, INSCopying 21 class NSPredicateEditorRowTemplate : NSObject, INSCoding, INSCopying
22 { 22 {
23 mixin (ObjcWrap); 23 mixin ObjcWrap;
24
25 this (id object)
26 {
27 super(object);
28 }
24 29
25 this (NSCoder aDecoder) 30 this (NSCoder aDecoder)
26 { 31 {
27 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); 32 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject);
28 } 33 }