Mercurial > projects > dstep
comparison dstep/appkit/NSHelpManager.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 |
---|---|
43 return NSContextHelpModeDidDeactivateNotification_ = new NSString(bindings.NSContextHelpModeDidDeactivateNotification); | 43 return NSContextHelpModeDidDeactivateNotification_ = new NSString(bindings.NSContextHelpModeDidDeactivateNotification); |
44 } | 44 } |
45 | 45 |
46 class NSHelpManager : NSObject | 46 class NSHelpManager : NSObject |
47 { | 47 { |
48 mixin (ObjcWrap); | 48 mixin ObjcWrap; |
49 | |
50 this (id object) | |
51 { | |
52 super(object); | |
53 } | |
49 | 54 |
50 static NSHelpManager sharedHelpManager () | 55 static NSHelpManager sharedHelpManager () |
51 { | 56 { |
52 return invokeObjcSelfClass!(NSHelpManager, "sharedHelpManager"); | 57 return invokeObjcSelfClass!(NSHelpManager, "sharedHelpManager"); |
53 } | 58 } |