comparison dstep/appkit/NSCIImageRep.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
13 import dstep.objc.objc; 13 import dstep.objc.objc;
14 import dstep.quartzcore.CIImage; 14 import dstep.quartzcore.CIImage;
15 15
16 class NSCIImageRep : NSImageRep 16 class NSCIImageRep : NSImageRep
17 { 17 {
18 mixin (ObjcWrap); 18 mixin ObjcWrap;
19
20 this (id object)
21 {
22 super(object);
23 }
19 24
20 static Object imageRepWithCIImage (CIImage image) 25 static Object imageRepWithCIImage (CIImage image)
21 { 26 {
22 return invokeObjcSelfClass!(Object, "imageRepWithCIImage:", CIImage)(image); 27 return invokeObjcSelfClass!(Object, "imageRepWithCIImage:", CIImage)(image);
23 } 28 }