• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/Lib/Quartz/QuartzComposer/
1# This file is generated by objective.metadata
2#
3# Last update: Fri Jun  8 16:58:06 2012
4
5import objc, sys
6
7if sys.maxsize > 2 ** 32:
8    def sel32or64(a, b): return b
9else:
10    def sel32or64(a, b): return a
11if sys.byteorder == 'little':
12    def littleOrBig(a, b): return a
13else:
14    def littleOrBig(a, b): return b
15
16misc = {
17}
18constants = '''$QCCompositionAttributeBuiltInKey$QCCompositionAttributeCategoryKey$QCCompositionAttributeCopyrightKey$QCCompositionAttributeDescriptionKey$QCCompositionAttributeHasConsumersKey$QCCompositionAttributeIsTimeDependentKey$QCCompositionAttributeNameKey$QCCompositionCategoryDistortion$QCCompositionCategoryStylize$QCCompositionCategoryUtility$QCCompositionInputAudioPeakKey$QCCompositionInputAudioSpectrumKey$QCCompositionInputDestinationImageKey$QCCompositionInputImageKey$QCCompositionInputPaceKey$QCCompositionInputPreviewModeKey$QCCompositionInputPrimaryColorKey$QCCompositionInputRSSArticleDurationKey$QCCompositionInputRSSFeedURLKey$QCCompositionInputScreenImageKey$QCCompositionInputSecondaryColorKey$QCCompositionInputSourceImageKey$QCCompositionInputTrackInfoKey$QCCompositionInputTrackPositionKey$QCCompositionInputTrackSignalKey$QCCompositionInputXKey$QCCompositionInputYKey$QCCompositionOutputImageKey$QCCompositionOutputWebPageURLKey$QCCompositionPickerPanelDidSelectCompositionNotification$QCCompositionPickerViewDidSelectCompositionNotification$QCCompositionProtocolGraphicAnimation$QCCompositionProtocolGraphicTransition$QCCompositionProtocolImageFilter$QCCompositionProtocolMusicVisualizer$QCCompositionProtocolRSSVisualizer$QCCompositionProtocolScreenSaver$QCCompositionRepositoryDidUpdateNotification$QCPlugInAttributeCategoriesKey$QCPlugInAttributeCopyrightKey$QCPlugInAttributeDescriptionKey$QCPlugInAttributeExamplesKey$QCPlugInAttributeNameKey$QCPlugInExecutionArgumentEventKey$QCPlugInExecutionArgumentMouseLocationKey$QCPlugInPixelFormatARGB8$QCPlugInPixelFormatBGRA8$QCPlugInPixelFormatI8$QCPlugInPixelFormatIf$QCPlugInPixelFormatRGBAf$QCPortAttributeDefaultValueKey$QCPortAttributeMaximumValueKey$QCPortAttributeMenuItemsKey$QCPortAttributeMinimumValueKey$QCPortAttributeNameKey$QCPortAttributeTypeKey$QCPortTypeBoolean$QCPortTypeColor$QCPortTypeImage$QCPortTypeIndex$QCPortTypeNumber$QCPortTypeString$QCPortTypeStructure$QCRendererEventKey$QCRendererMouseLocationKey$QCViewDidStartRenderingNotification$QCViewDidStopRenderingNotification$'''
19enums = '''$kQCPlugInExecutionModeConsumer@3$kQCPlugInExecutionModeProcessor@2$kQCPlugInExecutionModeProvider@1$kQCPlugInTimeModeIdle@1$kQCPlugInTimeModeNone@0$kQCPlugInTimeModeTimeBase@2$'''
20misc.update({})
21r = objc.registerMetaDataForSelector
22objc._updatingMetadata(True)
23try:
24    r(b'NSObject', b'compositionParameterView:shouldDisplayParameterWithKey:attributes:', {'retval': {'type': b'Z'}})
25    r(b'QCCompositionParameterView', b'drawsBackground', {'retval': {'type': b'Z'}})
26    r(b'QCCompositionParameterView', b'hasParameters', {'retval': {'type': b'Z'}})
27    r(b'QCCompositionParameterView', b'setDrawsBackground:', {'arguments': {2: {'type': b'Z'}}})
28    r(b'QCCompositionPickerView', b'allowsEmptySelection', {'retval': {'type': b'Z'}})
29    r(b'QCCompositionPickerView', b'drawsBackground', {'retval': {'type': b'Z'}})
30    r(b'QCCompositionPickerView', b'isAnimating', {'retval': {'type': b'Z'}})
31    r(b'QCCompositionPickerView', b'setAllowsEmptySelection:', {'arguments': {2: {'type': b'Z'}}})
32    r(b'QCCompositionPickerView', b'setDrawsBackground:', {'arguments': {2: {'type': b'Z'}}})
33    r(b'QCCompositionPickerView', b'setShowsCompositionNames:', {'arguments': {2: {'type': b'Z'}}})
34    r(b'QCCompositionPickerView', b'showsCompositionNames', {'retval': {'type': b'Z'}})
35    r(b'QCPlugIn', b'didValueForInputKeyChange:', {'retval': {'type': b'Z'}})
36    r(b'QCPlugIn', b'execute:atTime:withArguments:', {'retval': {'type': b'Z'}})
37    r(b'QCPlugIn', b'loadPlugInAtPath:', {'retval': {'type': b'Z'}})
38    r(b'QCPlugIn', b'setValue:forOutputKey:', {'retval': {'type': b'Z'}})
39    r(b'QCPlugIn', b'startExecution:', {'retval': {'type': b'Z'}})
40    r(b'QCRenderer', b'renderAtTime:arguments:', {'retval': {'type': b'Z'}})
41    r(b'QCView', b'autostartsRendering', {'retval': {'type': b'Z'}})
42    r(b'QCView', b'isPausedRendering', {'retval': {'type': b'Z'}})
43    r(b'QCView', b'isRendering', {'retval': {'type': b'Z'}})
44    r(b'QCView', b'loadComposition:', {'retval': {'type': b'Z'}})
45    r(b'QCView', b'loadCompositionFromFile:', {'retval': {'type': b'Z'}})
46    r(b'QCView', b'renderAtTime:arguments:', {'retval': {'type': b'Z'}})
47    r(b'QCView', b'setAutostartsRendering:', {'arguments': {2: {'type': b'Z'}}})
48    r(b'QCView', b'startRendering', {'retval': {'type': b'Z'}})
49finally:
50    objc._updatingMetadata(False)
51r = objc.registerMetaDataForSelector
52objc._updatingMetadata(True)
53try:
54    r(b'NSObject', b'CGLContextObj', {'required': True, 'retval': {'type': b'^{_CGLContextObject=}'}})
55    r(b'NSObject', b'attributes', {'required': True, 'retval': {'type': b'@'}})
56    r(b'NSObject', b'bindTextureRepresentationToCGLContext:textureUnit:normalizeCoordinates:', {'required': True, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'^{_CGLContextObject=}'}, 3: {'type': b'I'}, 4: {'type': b'Z'}}})
57    r(b'NSObject', b'bounds', {'required': True, 'retval': {'type': sel32or64(b'{_NSRect={_NSPoint=ff}{_NSSize=ff}}', b'{CGRect={CGPoint=dd}{CGSize=dd}}')}})
58    r(b'NSObject', b'bufferBaseAddress', {'required': True, 'retval': {'type': b'^v'}})
59    r(b'NSObject', b'bufferBytesPerRow', {'required': True, 'retval': {'type': sel32or64(b'I', b'L')}})
60    r(b'NSObject', b'bufferColorSpace', {'required': True, 'retval': {'type': b'^{CGColorSpace=}'}})
61    r(b'NSObject', b'bufferPixelFormat', {'required': True, 'retval': {'type': b'@'}})
62    r(b'NSObject', b'bufferPixelsHigh', {'required': True, 'retval': {'type': sel32or64(b'I', b'L')}})
63    r(b'NSObject', b'bufferPixelsWide', {'required': True, 'retval': {'type': sel32or64(b'I', b'L')}})
64    r(b'NSObject', b'canRenderWithCGLContext:', {'required': False, 'retval': {'type': b'Z'}, 'arguments': {2: {'type': b'^{_CGLContextObject=}'}}})
65    r(b'NSObject', b'colorSpace', {'required': True, 'retval': {'type': b'^{CGColorSpace=}'}})
66    r(b'NSObject', b'compositionURL', {'required': True, 'retval': {'type': b'@'}})
67    r(b'NSObject', b'copyRenderedTextureForCGLContext:pixelFormat:bounds:isFlipped:', {'required': False, 'retval': {'type': b'I'}, 'arguments': {2: {'type': b'^{_CGLContextObject=}'}, 3: {'type': b'@'}, 4: {'type': sel32or64(b'{_NSRect={_NSPoint=ff}{_NSSize=ff}}', b'{CGRect={CGPoint=dd}{CGSize=dd}}')}, 5: {'type': b'^Z'}}})
68    r(b'NSObject', b'imageBounds', {'required': True, 'retval': {'type': sel32or64(b'{_NSRect={_NSPoint=ff}{_NSSize=ff}}', b'{CGRect={CGPoint=dd}{CGSize=dd}}')}})
69    r(b'NSObject', b'imageBounds', {'required': True, 'retval': {'type': sel32or64(b'{_NSRect={_NSPoint=ff}{_NSSize=ff}}', b'{CGRect={CGPoint=dd}{CGSize=dd}}')}})
70    r(b'NSObject', b'imageColorSpace', {'required': True, 'retval': {'type': b'^{CGColorSpace=}'}})
71    r(b'NSObject', b'imageColorSpace', {'required': True, 'retval': {'type': b'^{CGColorSpace=}'}})
72    r(b'NSObject', b'inputKeys', {'required': True, 'retval': {'type': b'@'}})
73    r(b'NSObject', b'lockBufferRepresentationWithPixelFormat:colorSpace:forBounds:', {'required': True, 'retval': {'type': b'Z'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'^{CGColorSpace=}'}, 4: {'type': sel32or64(b'{_NSRect={_NSPoint=ff}{_NSSize=ff}}', b'{CGRect={CGPoint=dd}{CGSize=dd}}')}}})
74    r(b'NSObject', b'lockTextureRepresentationWithColorSpace:forBounds:', {'required': True, 'retval': {'type': b'Z'}, 'arguments': {2: {'type': b'^{CGColorSpace=}'}, 3: {'type': sel32or64(b'{_NSRect={_NSPoint=ff}{_NSSize=ff}}', b'{CGRect={CGPoint=dd}{CGSize=dd}}')}}})
75    r(b'NSObject', b'logMessage:', {'required': True, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}, 'variadic': True})
76    r(b'NSObject', b'outputImageProviderFromBufferWithPixelFormat:pixelsWide:pixelsHigh:baseAddress:bytesPerRow:releaseCallback:releaseContext:colorSpace:shouldColorMatch:', {'required': True, 'retval': {'type': b'@'}, 'arguments': {2: {'type': b'@'}, 3: {'type': sel32or64(b'I', b'L')}, 4: {'type': sel32or64(b'I', b'L')}, 5: {'type': b'^v'}, 6: {'type': sel32or64(b'I', b'L')}, 7: {'type': b'^?'}, 8: {'type': b'^v'}, 9: {'type': b'^{CGColorSpace=}'}, 10: {'type': b'Z'}}})
77    r(b'NSObject', b'outputImageProviderFromTextureWithPixelFormat:pixelsWide:pixelsHigh:name:flipped:releaseCallback:releaseContext:colorSpace:shouldColorMatch:', {'required': True, 'retval': {'type': b'@'}, 'arguments': {2: {'type': b'@'}, 3: {'type': sel32or64(b'I', b'L')}, 4: {'type': sel32or64(b'I', b'L')}, 5: {'type': b'I'}, 6: {'type': b'Z'}, 7: {'type': b'^?'}, 8: {'type': b'^v'}, 9: {'type': b'^{CGColorSpace=}'}, 10: {'type': b'Z'}}})
78    r(b'NSObject', b'outputKeys', {'required': True, 'retval': {'type': b'@'}})
79    r(b'NSObject', b'propertyListFromInputValues', {'required': True, 'retval': {'type': b'@'}})
80    r(b'NSObject', b'releaseRenderedTexture:forCGLContext:', {'required': False, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'I'}, 3: {'type': b'^{_CGLContextObject=}'}}})
81    r(b'NSObject', b'renderToBuffer:withBytesPerRow:pixelFormat:forBounds:', {'required': False, 'retval': {'type': b'Z'}, 'arguments': {2: {'type': b'^v'}, 3: {'type': sel32or64(b'I', b'L')}, 4: {'type': b'@'}, 5: {'type': sel32or64(b'{_NSRect={_NSPoint=ff}{_NSSize=ff}}', b'{CGRect={CGPoint=dd}{CGSize=dd}}')}}})
82    r(b'NSObject', b'renderWithCGLContext:forBounds:', {'required': False, 'retval': {'type': b'Z'}, 'arguments': {2: {'type': b'^{_CGLContextObject=}'}, 3: {'type': sel32or64(b'{_NSRect={_NSPoint=ff}{_NSSize=ff}}', b'{CGRect={CGPoint=dd}{CGSize=dd}}')}}})
83    r(b'NSObject', b'setInputValuesWithPropertyList:', {'required': True, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
84    r(b'NSObject', b'setValue:forInputKey:', {'required': True, 'retval': {'type': b'Z'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}}})
85    r(b'NSObject', b'shouldColorMatch', {'required': False, 'retval': {'type': b'Z'}})
86    r(b'NSObject', b'shouldColorMatch', {'required': True, 'retval': {'type': b'Z'}})
87    r(b'NSObject', b'supportedBufferPixelFormats', {'required': False, 'retval': {'type': b'@'}})
88    r(b'NSObject', b'supportedRenderedTexturePixelFormats', {'required': False, 'retval': {'type': b'@'}})
89    r(b'NSObject', b'textureColorSpace', {'required': True, 'retval': {'type': b'^{CGColorSpace=}'}})
90    r(b'NSObject', b'textureFlipped', {'required': True, 'retval': {'type': b'Z'}})
91    r(b'NSObject', b'textureMatrix', {'required': True, 'retval': {'type': b'^f'}})
92    r(b'NSObject', b'textureName', {'required': True, 'retval': {'type': b'I'}})
93    r(b'NSObject', b'texturePixelsHigh', {'required': True, 'retval': {'type': sel32or64(b'I', b'L')}})
94    r(b'NSObject', b'texturePixelsWide', {'required': True, 'retval': {'type': sel32or64(b'I', b'L')}})
95    r(b'NSObject', b'textureTarget', {'required': True, 'retval': {'type': b'I'}})
96    r(b'NSObject', b'unbindTextureRepresentationFromCGLContext:textureUnit:', {'required': True, 'retval': {'type': b'v'}, 'arguments': {2: {'type': b'^{_CGLContextObject=}'}, 3: {'type': b'I'}}})
97    r(b'NSObject', b'unlockBufferRepresentation', {'required': True, 'retval': {'type': b'v'}})
98    r(b'NSObject', b'unlockTextureRepresentation', {'required': True, 'retval': {'type': b'v'}})
99    r(b'NSObject', b'userInfo', {'required': True, 'retval': {'type': b'@'}})
100    r(b'NSObject', b'userInfo', {'required': True, 'retval': {'type': b'@'}})
101    r(b'NSObject', b'valueForInputKey:', {'required': True, 'retval': {'type': b'@'}, 'arguments': {2: {'type': b'@'}}})
102    r(b'NSObject', b'valueForOutputKey:', {'required': True, 'retval': {'type': b'@'}, 'arguments': {2: {'type': b'@'}}})
103    r(b'NSObject', b'valueForOutputKey:ofType:', {'required': True, 'retval': {'type': b'@'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}}})
104finally:
105    objc._updatingMetadata(False)
106r = objc.registerMetaDataForSelector
107objc._updatingMetadata(True)
108try:
109    r(b'NSObject', b'compositionParameterView:didChangeParameterWithKey:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}}})
110    r(b'NSObject', b'compositionParameterView:shouldDisplayParameterWithKey:attributes:', {'retval': {'type': b'Z'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}, 4: {'type': b'@'}}})
111    r(b'NSObject', b'compositionPickerView:didSelectComposition:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}}})
112    r(b'NSObject', b'compositionPickerViewDidStartAnimating:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
113    r(b'NSObject', b'compositionPickerViewWillStopAnimating:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
114finally:
115    objc._updatingMetadata(False)
116protocols={'QCCompositionPickerViewDelegate': objc.informal_protocol('QCCompositionPickerViewDelegate', [objc.selector(None, b'compositionPickerView:didSelectComposition:', b'v@:@@', isRequired=False), objc.selector(None, b'compositionPickerViewWillStopAnimating:', b'v@:@', isRequired=False), objc.selector(None, b'compositionPickerViewDidStartAnimating:', b'v@:@', isRequired=False)]), 'QCCompositionParameterViewDelegate': objc.informal_protocol('QCCompositionParameterViewDelegate', [objc.selector(None, b'compositionParameterView:didChangeParameterWithKey:', b'v@:@@', isRequired=False), objc.selector(None, b'compositionParameterView:shouldDisplayParameterWithKey:attributes:', b'Z@:@@@', isRequired=False)])}
117expressions = {}
118
119# END OF FILE
120