comparison dstep/qtkit/QTCaptureDeviceInput.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.qtkit.QTCaptureInput; 13 import dstep.qtkit.QTCaptureInput;
14 import dstep.qtkit.QTKitDefines; 14 import dstep.qtkit.QTKitDefines;
15 15
16 class QTCaptureDeviceInput : QTCaptureInput 16 class QTCaptureDeviceInput : QTCaptureInput
17 { 17 {
18 mixin (ObjcWrap); 18 mixin ObjcWrap;
19
20 this (id object)
21 {
22 super(object);
23 }
19 24
20 static Object deviceInputWithDevice (QTCaptureDevice device) 25 static Object deviceInputWithDevice (QTCaptureDevice device)
21 { 26 {
22 return invokeObjcSelfClass!(Object, "deviceInputWithDevice:", QTCaptureDevice)(device); 27 return invokeObjcSelfClass!(Object, "deviceInputWithDevice:", QTCaptureDevice)(device);
23 } 28 }