Mercurial > projects > dstep
comparison dstep/appkit/NSOpenPanel.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 | 43 |
44 `; | 44 `; |
45 | 45 |
46 class NSOpenPanel : NSSavePanel | 46 class NSOpenPanel : NSSavePanel |
47 { | 47 { |
48 mixin (ObjcWrap); | 48 mixin ObjcWrap; |
49 | |
50 this (id object) | |
51 { | |
52 super(object); | |
53 } | |
49 | 54 |
50 static NSOpenPanel openPanel () | 55 static NSOpenPanel openPanel () |
51 { | 56 { |
52 return invokeObjcSelfClass!(NSOpenPanel, "openPanel"); | 57 return invokeObjcSelfClass!(NSOpenPanel, "openPanel"); |
53 } | 58 } |