Mercurial > projects > dstep
comparison dstep/appkit/NSTrackingArea.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 |
---|---|
39 NSTrackingEnabledDuringMouseDrag = 0x400 | 39 NSTrackingEnabledDuringMouseDrag = 0x400 |
40 } | 40 } |
41 | 41 |
42 class NSTrackingArea : NSObject, INSCopying, INSCoding | 42 class NSTrackingArea : NSObject, INSCopying, INSCoding |
43 { | 43 { |
44 mixin (ObjcWrap); | 44 mixin ObjcWrap; |
45 | |
46 this (id object) | |
47 { | |
48 super(object); | |
49 } | |
45 | 50 |
46 this (NSCoder aDecoder) | 51 this (NSCoder aDecoder) |
47 { | 52 { |
48 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); | 53 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); |
49 } | 54 } |