Mercurial > projects > dstep
diff dstep/foundation/NSScriptStandardSuiteCommands.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 |
line wrap: on
line diff
--- a/dstep/foundation/NSScriptStandardSuiteCommands.d Wed Feb 10 19:24:32 2010 +0100 +++ b/dstep/foundation/NSScriptStandardSuiteCommands.d Tue Apr 06 11:37:27 2010 +0200 @@ -25,7 +25,12 @@ class NSCloneCommand : NSScriptCommand { - mixin (ObjcWrap); + mixin ObjcWrap; + + this (id object) + { + super(object); + } this () { @@ -50,7 +55,12 @@ class NSSetCommand : NSScriptCommand { - mixin (ObjcWrap); + mixin ObjcWrap; + + this (id object) + { + super(object); + } this () { @@ -75,7 +85,12 @@ class NSCreateCommand : NSScriptCommand { - mixin (ObjcWrap); + mixin ObjcWrap; + + this (id object) + { + super(object); + } this () { @@ -100,7 +115,12 @@ class NSMoveCommand : NSScriptCommand { - mixin (ObjcWrap); + mixin ObjcWrap; + + this (id object) + { + super(object); + } this () { @@ -125,7 +145,12 @@ class NSQuitCommand : NSScriptCommand { - mixin (ObjcWrap); + mixin ObjcWrap; + + this (id object) + { + super(object); + } this () { @@ -145,7 +170,12 @@ class NSCloseCommand : NSScriptCommand { - mixin (ObjcWrap); + mixin ObjcWrap; + + this (id object) + { + super(object); + } this () { @@ -165,7 +195,12 @@ class NSDeleteCommand : NSScriptCommand { - mixin (ObjcWrap); + mixin ObjcWrap; + + this (id object) + { + super(object); + } this () {