Mercurial > projects > dstep
comparison dstep/appkit/NSPrintPanel.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 |
---|---|
66 NSPrintPanelShowsPreview = 0x20000 | 66 NSPrintPanelShowsPreview = 0x20000 |
67 } | 67 } |
68 | 68 |
69 class NSPrintPanel : NSObject | 69 class NSPrintPanel : NSObject |
70 { | 70 { |
71 mixin (ObjcWrap); | 71 mixin ObjcWrap; |
72 | |
73 this (id object) | |
74 { | |
75 super(object); | |
76 } | |
72 | 77 |
73 static NSPrintPanel printPanel () | 78 static NSPrintPanel printPanel () |
74 { | 79 { |
75 return invokeObjcSelfClass!(NSPrintPanel, "printPanel"); | 80 return invokeObjcSelfClass!(NSPrintPanel, "printPanel"); |
76 } | 81 } |