Mercurial > projects > dstep
comparison dstep/qtkit/QTCaptureAudioPreviewOutput.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 |
---|---|
12 import dstep.qtkit.QTCaptureOutput; | 12 import dstep.qtkit.QTCaptureOutput; |
13 import dstep.qtkit.QTKitDefines; | 13 import dstep.qtkit.QTKitDefines; |
14 | 14 |
15 class QTCaptureAudioPreviewOutput : QTCaptureOutput | 15 class QTCaptureAudioPreviewOutput : QTCaptureOutput |
16 { | 16 { |
17 mixin (ObjcWrap); | 17 mixin ObjcWrap; |
18 | |
19 this (id object) | |
20 { | |
21 super(object); | |
22 } | |
18 | 23 |
19 NSString outputDeviceUniqueID () | 24 NSString outputDeviceUniqueID () |
20 { | 25 { |
21 return invokeObjcSelf!(NSString, "outputDeviceUniqueID"); | 26 return invokeObjcSelf!(NSString, "outputDeviceUniqueID"); |
22 } | 27 } |