Mercurial > projects > dstep
comparison dstep/qtkit/QTCaptureSession.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 |
---|---|
38 return QTCaptureSessionErrorKey_ = new NSString(bindings.QTCaptureSessionErrorKey); | 38 return QTCaptureSessionErrorKey_ = new NSString(bindings.QTCaptureSessionErrorKey); |
39 } | 39 } |
40 | 40 |
41 class QTCaptureSession : NSObject, INSCoding | 41 class QTCaptureSession : NSObject, INSCoding |
42 { | 42 { |
43 mixin (ObjcWrap); | 43 mixin ObjcWrap; |
44 | |
45 this (id object) | |
46 { | |
47 super(object); | |
48 } | |
44 | 49 |
45 NSArray inputs () | 50 NSArray inputs () |
46 { | 51 { |
47 return invokeObjcSelf!(NSArray, "inputs"); | 52 return invokeObjcSelf!(NSArray, "inputs"); |
48 } | 53 } |