Mercurial > projects > dstep
comparison dstep/appkit/NSApplication.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 |
---|---|
553 | 553 |
554 `; | 554 `; |
555 | 555 |
556 class NSApplication : NSResponder, INSUserInterfaceValidations | 556 class NSApplication : NSResponder, INSUserInterfaceValidations |
557 { | 557 { |
558 mixin (ObjcWrap); | 558 mixin ObjcWrap; |
559 | |
560 this (id object) | |
561 { | |
562 super(object); | |
563 } | |
559 | 564 |
560 static NSApplication sharedApplication () | 565 static NSApplication sharedApplication () |
561 { | 566 { |
562 return invokeObjcSelfClass!(NSApplication, "sharedApplication"); | 567 return invokeObjcSelfClass!(NSApplication, "sharedApplication"); |
563 } | 568 } |