Mercurial > projects > dstep
comparison dstep/foundation/NSAppleEventManager.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 |
---|---|
41 return NSAppleEventManagerWillProcessFirstEventNotification_ = new NSString(bindings.NSAppleEventManagerWillProcessFirstEventNotification); | 41 return NSAppleEventManagerWillProcessFirstEventNotification_ = new NSString(bindings.NSAppleEventManagerWillProcessFirstEventNotification); |
42 } | 42 } |
43 | 43 |
44 class NSAppleEventManager : NSObject | 44 class NSAppleEventManager : NSObject |
45 { | 45 { |
46 mixin (ObjcWrap); | 46 mixin ObjcWrap; |
47 | |
48 this (id object) | |
49 { | |
50 super(object); | |
51 } | |
47 | 52 |
48 this () | 53 this () |
49 { | 54 { |
50 super(typeof(this).alloc.init.objcObject); | 55 super(typeof(this).alloc.init.objcObject); |
51 } | 56 } |