1# This file is generated by objective.metadata 2# 3# Last update: Fri Sep 21 15:29:21 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 = '''$IMAVManagerStateChangedNotification$IMAVManagerURLToShareChangedNotification$IMCapabilityAudioConference$IMCapabilityDirectIM$IMCapabilityFileSharing$IMCapabilityFileTransfer$IMCapabilityText$IMCapabilityVideoConference$IMMyStatusChangedNotification$IMPersonAVBusyKey$IMPersonCapabilitiesKey$IMPersonEmailKey$IMPersonFirstNameKey$IMPersonIdleSinceKey$IMPersonInfoChangedNotification$IMPersonLastNameKey$IMPersonPictureDataKey$IMPersonScreenNameKey$IMPersonServiceNameKey$IMPersonStatusChangedNotification$IMPersonStatusKey$IMPersonStatusMessageKey$IMServiceStatusChangedNotification$IMStatusImagesChangedAppearanceNotification$''' 19enums = '''$IMAVInactive@0$IMAVPending@4$IMAVRequested@1$IMAVRunning@5$IMAVShuttingDown@2$IMAVStartingUp@3$IMPersonStatusAvailable@4$IMPersonStatusAway@3$IMPersonStatusIdle@2$IMPersonStatusNoStatus@5$IMPersonStatusOffline@1$IMPersonStatusUnknown@0$IMServiceStatusDisconnected@1$IMServiceStatusLoggedIn@4$IMServiceStatusLoggedOut@0$IMServiceStatusLoggingIn@3$IMServiceStatusLoggingOut@2$IMVideoOptimizationDefault@0$IMVideoOptimizationReplacement@2$IMVideoOptimizationStills@1$''' 20misc.update({}) 21functions={'IMComparePersonStatus': (sel32or64(b'iII', b'qQQ'),)} 22r = objc.registerMetaDataForSelector 23objc._updatingMetadata(True) 24try: 25 r(b'IMAVControl', b'isEnabled', {'retval': {'type': b'Z'}}) 26 r(b'IMAVControl', b'setEnabled:', {'arguments': {2: {'type': b'Z'}}}) 27 r(b'NSObject', b'getOpenGLBufferContext:pixelFormat:', {'arguments': {2: {'type_modifier': b'o'}, 3: {'type_modifier': b'o'}}}) 28 r(b'NSObject', b'getPixelBufferPixelFormat:', {'arguments': {2: {'type_modifier': b'o'}}}) 29 r(b'NSObject', b'renderIntoOpenGLBuffer:onScreen:forTime:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type': '^{__CVBuffer=}'}, 3: {'type_modifier': b'n'}, 4: {'type': sel32or64(b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssLLLssss}QQ}', b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}'), 'type_modifier': b'n'}}}) 30 r(b'NSObject', b'renderIntoPixelBuffer:forTime:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type': '^{__CVBuffer=}'}, 3: {'type': sel32or64(b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssLLLssss}QQ}', b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}'), 'type_modifier': b'n'}}}) 31finally: 32 objc._updatingMetadata(False) 33r = objc.registerMetaDataForSelector 34objc._updatingMetadata(True) 35try: 36 r(b'NSObject', b'getOpenGLBufferContext:pixelFormat:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'^^{_CGLContextObject=}', 'type_modifier': b'o'}, 3: {'type': b'^^{_CGLPixelFormatObject=}', 'type_modifier': b'o'}}}) 37 r(b'NSObject', b'getPixelBufferPixelFormat:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'^I', 'type_modifier': b'o'}}}) 38 r(b'NSObject', b'renderIntoOpenGLBuffer:onScreen:forTime:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type': '^{__CVBuffer=}'}, 3: {'type': b'^i', 'type_modifier': b'n'}, 4: {'type': sel32or64(b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssLLLssss}QQ}', b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}'), 'type_modifier': b'n'}}}) 39 r(b'NSObject', b'renderIntoPixelBuffer:forTime:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type': '^{__CVBuffer=}'}, 3: {'type': sel32or64(b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssLLLssss}QQ}', b'^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}'), 'type_modifier': b'n'}}}) 40finally: 41 objc._updatingMetadata(False) 42protocols={'IMVideoDataSource': objc.informal_protocol('IMVideoDataSource', [objc.selector(None, b'renderIntoPixelBuffer:forTime:', sel32or64(b'Z@:^{__CVBuffer=}^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssLLLssss}QQ}', b'Z@:^{__CVBuffer=}^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}'), isRequired=False), objc.selector(None, b'getPixelBufferPixelFormat:', b'v@:^I', isRequired=False), objc.selector(None, b'getOpenGLBufferContext:pixelFormat:', b'v@:^^{_CGLContextObject=}^^{_CGLPixelFormatObject=}', isRequired=False), objc.selector(None, b'renderIntoOpenGLBuffer:onScreen:forTime:', sel32or64(b'Z@:^{__CVBuffer=}^i^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssLLLssss}QQ}', b'Z@:^{__CVBuffer=}^i^{_CVTimeStamp=IiqQdq{CVSMPTETime=ssIIIssss}QQ}'), isRequired=False)])} 43expressions = {} 44 45# END OF FILE 46