~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/monomac/src/qtkit.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        }
141
141
 
142
142
        [BaseType (typeof (NSObject), Name="QTCaptureDecompressedVideoOutput_Delegate")]
 
143
        [Model]
143
144
        interface QTCaptureDecompressedVideoOutputDelegate {
144
145
                [Export ("captureOutput:didOutputVideoFrame:withSampleBuffer:fromConnection:"), EventArgs ("QTCaptureVideoFrame")]
145
146
                void DidOutputVideoFrame (QTCaptureOutput captureOutput, CVImageBuffer videoFrame, QTSampleBuffer sampleBuffer, QTCaptureConnection connection);
149
150
        }
150
151
 
151
152
        [BaseType (typeof (NSObject))]
 
153
        [DisableDefaultCtor] // An uncaught exception was raised: Cannot instantiate a QTCaptureDevice directly.
152
154
        interface QTCaptureDevice {
153
155
                [Static]
154
156
                [Export ("inputDevices")]
262
264
        }
263
265
 
264
266
        [BaseType (typeof (QTCaptureInput))]
 
267
        [DisableDefaultCtor] // crash without warning
265
268
        interface QTCaptureDeviceInput {
 
269
                [Static]
266
270
                [Export ("deviceInputWithDevice:")]
267
271
                QTCaptureDeviceInput FromDevice (QTCaptureDevice device);
268
272
 
274
278
        }
275
279
 
276
280
        [BaseType (typeof (QTCaptureOutput), Delegates=new string [] { "Delegate" }, Events=new Type [] { typeof (QTCaptureFileOutputDelegate)})]
 
281
        [DisableDefaultCtor] // crash without warning
277
282
        interface QTCaptureFileOutput {
278
283
                [Export ("outputFileURL")]
279
284
                NSUrl OutputFileUrl { get; }
358
363
        }
359
364
 
360
365
        [BaseType (typeof (NSObject))]
 
366
        [DisableDefaultCtor] // An uncaught exception was raised: Cannot instantiate QTCaptureInput because it is an abstract superclass.
361
367
        interface QTCaptureInput {
362
368
                [Export ("connections")]
363
369
                QTCaptureConnection [] Connections { get; }
382
388
        }
383
389
 
384
390
        [BaseType (typeof (NSObject))]
 
391
        [DisableDefaultCtor] // An uncaught exception was raised: Cannot instantiate QTCaptureOutput because it is an abstract superclass.
385
392
        interface QTCaptureOutput {
386
393
                [Export ("connections")]
387
394
                QTCaptureConnection [] Connections { get; }
460
467
 
461
468
        [BaseType (typeof (NSObject))]
462
469
        interface QTCompressionOptions {
 
470
                [Static]
463
471
                [Export ("compressionOptionsIdentifiersForMediaType:")]
464
472
                string [] GetCompressionOptionsIdentifiers (string forMediaType);
465
473
 
850
858
                string[] MovieUnfilteredPasteboardTypes ();
851
859
 
852
860
                [Static, Export ("movieTypesWithOptions:")]
853
 
                string[] MovieTypesWithOptions ([Target] QTMovie qTMovieInitialization, QTMovieFileTypeOptions types);
 
861
                string[] MovieTypesWithOptions (QTMovieFileTypeOptions types);
854
862
 
855
863
                [Static, Export ("movie")]
856
864
                QTMovie Movie { get; }
904
912
                [Export ("initWithAttributes:error:")]
905
913
                IntPtr Constructor (NSDictionary attributes, out NSError error);
906
914
 
907
 
                [Static, Export ("movieWithTimeRange:error:")]
908
 
                QTMovie FromTimeRange (QTTimeRange range, out NSError error);
 
915
                // non-static, it's a ctor that does not start with `init`
 
916
                [Export ("movieWithTimeRange:error:")]
 
917
                IntPtr Constructor (QTTimeRange range, out NSError error);
909
918
 
910
919
//              [Export ("initToWritableFile:error:")]
911
920
//              IntPtr Constructor (string filename, out NSError error);
933
942
                bool Muted { get; set; }
934
943
                
935
944
                [Export ("movieAttributes")]
936
 
                NSDictionary MovieAttributes { get; }
 
945
                NSDictionary MovieAttributes { get; set; }
937
946
 
938
947
                [Export ("attributeForKey:")]
939
948
                NSObject GetAttribute (string attributeKey);
1353
1362
 
1354
1363
        
1355
1364
        [BaseType (typeof (NSObject))]
 
1365
        [DisableDefaultCtor] // invalid handle returned
1356
1366
        interface QTSampleBuffer {
1357
1367
                [Export ("bytesForAllSamples")]
1358
1368
                IntPtr BytesForAllSamples { get; }