diff options
-rw-r--r-- | Mac/Modules/ae/aegen.py | 277 | ||||
-rw-r--r-- | Mac/Modules/cm/Cmgen.py | 158 | ||||
-rw-r--r-- | Mac/Modules/ctl/ctlgen.py | 173 | ||||
-rw-r--r-- | Mac/Modules/dlg/dlggen.py | 228 | ||||
-rw-r--r-- | Mac/Modules/evt/evtgen.py | 100 | ||||
-rw-r--r-- | Mac/Modules/fm/Fmgen.py | 84 | ||||
-rw-r--r-- | Mac/Modules/list/listgen.py | 160 | ||||
-rw-r--r-- | Mac/Modules/menu/menugen.py | 272 | ||||
-rw-r--r-- | Mac/Modules/qd/qdgen.py | 999 | ||||
-rw-r--r-- | Mac/Modules/qt/qtgen.py | 1712 | ||||
-rw-r--r-- | Mac/Modules/res/resgen.py | 277 | ||||
-rw-r--r-- | Mac/Modules/snd/sndgen.py | 158 | ||||
-rw-r--r-- | Mac/Modules/win/wingen.py | 280 |
13 files changed, 0 insertions, 4878 deletions
diff --git a/Mac/Modules/ae/aegen.py b/Mac/Modules/ae/aegen.py deleted file mode 100644 index d622cf8..0000000 --- a/Mac/Modules/ae/aegen.py +++ /dev/null @@ -1,277 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:AppleEvents.h' - -f = AEFunction(OSErr, 'AECreateDesc', - (DescType, 'typeCode', InMode), - (InBuffer, 'dataPtr', InMode), - (AEDesc, 'result', OutMode), -) -functions.append(f) - -f = AEFunction(OSErr, 'AECoercePtr', - (DescType, 'typeCode', InMode), - (InBuffer, 'dataPtr', InMode), - (DescType, 'toType', InMode), - (AEDesc, 'result', OutMode), -) -functions.append(f) - -f = AEMethod(OSErr, 'AECoerceDesc', - (AEDesc_ptr, 'theAEDesc', InMode), - (DescType, 'toType', InMode), - (AEDesc, 'result', OutMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEDuplicateDesc', - (AEDesc_ptr, 'theAEDesc', InMode), - (AEDesc, 'result', OutMode), -) -aedescmethods.append(f) - -f = AEFunction(OSErr, 'AECreateList', - (InBuffer, 'factoringPtr', InMode), - (Boolean, 'isRecord', InMode), - (AEDescList, 'resultList', OutMode), -) -functions.append(f) - -f = AEMethod(OSErr, 'AECountItems', - (AEDescList_ptr, 'theAEDescList', InMode), - (long, 'theCount', OutMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEPutPtr', - (AEDescList_ptr, 'theAEDescList', InMode), - (long, 'index', InMode), - (DescType, 'typeCode', InMode), - (InBuffer, 'dataPtr', InMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEPutDesc', - (AEDescList_ptr, 'theAEDescList', InMode), - (long, 'index', InMode), - (AEDesc_ptr, 'theAEDesc', InMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEGetNthPtr', - (AEDescList_ptr, 'theAEDescList', InMode), - (long, 'index', InMode), - (DescType, 'desiredType', InMode), - (AEKeyword, 'theAEKeyword', OutMode), - (DescType, 'typeCode', OutMode), - (VarVarOutBuffer, 'dataPtr', InOutMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEGetNthDesc', - (AEDescList_ptr, 'theAEDescList', InMode), - (long, 'index', InMode), - (DescType, 'desiredType', InMode), - (AEKeyword, 'theAEKeyword', OutMode), - (AEDesc, 'result', OutMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AESizeOfNthItem', - (AEDescList_ptr, 'theAEDescList', InMode), - (long, 'index', InMode), - (DescType, 'typeCode', OutMode), - (Size, 'dataSize', OutMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEDeleteItem', - (AEDescList_ptr, 'theAEDescList', InMode), - (long, 'index', InMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEPutParamPtr', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AEKeyword, 'theAEKeyword', InMode), - (DescType, 'typeCode', InMode), - (InBuffer, 'dataPtr', InMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEPutParamDesc', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AEKeyword, 'theAEKeyword', InMode), - (AEDesc_ptr, 'theAEDesc', InMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEGetParamPtr', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AEKeyword, 'theAEKeyword', InMode), - (DescType, 'desiredType', InMode), - (DescType, 'typeCode', OutMode), - (VarVarOutBuffer, 'dataPtr', InOutMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEGetParamDesc', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AEKeyword, 'theAEKeyword', InMode), - (DescType, 'desiredType', InMode), - (AEDesc, 'result', OutMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AESizeOfParam', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AEKeyword, 'theAEKeyword', InMode), - (DescType, 'typeCode', OutMode), - (Size, 'dataSize', OutMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEDeleteParam', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AEKeyword, 'theAEKeyword', InMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEGetAttributePtr', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AEKeyword, 'theAEKeyword', InMode), - (DescType, 'desiredType', InMode), - (DescType, 'typeCode', OutMode), - (VarVarOutBuffer, 'dataPtr', InOutMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEGetAttributeDesc', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AEKeyword, 'theAEKeyword', InMode), - (DescType, 'desiredType', InMode), - (AEDesc, 'result', OutMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AESizeOfAttribute', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AEKeyword, 'theAEKeyword', InMode), - (DescType, 'typeCode', OutMode), - (Size, 'dataSize', OutMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEPutAttributePtr', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AEKeyword, 'theAEKeyword', InMode), - (DescType, 'typeCode', InMode), - (InBuffer, 'dataPtr', InMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEPutAttributeDesc', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AEKeyword, 'theAEKeyword', InMode), - (AEDesc_ptr, 'theAEDesc', InMode), -) -aedescmethods.append(f) - -f = AEFunction(OSErr, 'AECreateAppleEvent', - (AEEventClass, 'theAEEventClass', InMode), - (AEEventID, 'theAEEventID', InMode), - (AEAddressDesc_ptr, 'target', InMode), - (short, 'returnID', InMode), - (long, 'transactionID', InMode), - (AppleEvent, 'result', OutMode), -) -functions.append(f) - -f = AEMethod(OSErr, 'AESend', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AppleEvent, 'reply', OutMode), - (AESendMode, 'sendMode', InMode), - (AESendPriority, 'sendPriority', InMode), - (long, 'timeOutInTicks', InMode), - (AEIdleUPP, 'idleProc', InMode), - (AEFilterUPP, 'filterProc', InMode), -) -aedescmethods.append(f) - -f = AEFunction(OSErr, 'AEProcessAppleEvent', - (EventRecord_ptr, 'theEventRecord', InMode), -) -functions.append(f) - -f = AEMethod(OSErr, 'AEResetTimer', - (AppleEvent_ptr, 'reply', InMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AESuspendTheCurrentEvent', - (AppleEvent_ptr, 'theAppleEvent', InMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEResumeTheCurrentEvent', - (AppleEvent_ptr, 'theAppleEvent', InMode), - (AppleEvent_ptr, 'reply', InMode), - (EventHandler, 'dispatcher', InMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AEGetTheCurrentEvent', - (AppleEvent_ptr, 'theAppleEvent', InMode), -) -aedescmethods.append(f) - -f = AEMethod(OSErr, 'AESetTheCurrentEvent', - (AppleEvent_ptr, 'theAppleEvent', InMode), -) -aedescmethods.append(f) - -f = AEFunction(OSErr, 'AEGetInteractionAllowed', - (AEInteractAllowed, 'level', OutMode), -) -functions.append(f) - -f = AEFunction(OSErr, 'AESetInteractionAllowed', - (AEInteractAllowed, 'level', InMode), -) -functions.append(f) - -f = AEFunction(OSErr, 'AEInteractWithUser', - (long, 'timeOutInTicks', InMode), - (NMRecPtr, 'nmReqPtr', InMode), - (AEIdleUPP, 'idleProc', InMode), -) -functions.append(f) - -f = AEFunction(OSErr, 'AEInstallEventHandler', - (AEEventClass, 'theAEEventClass', InMode), - (AEEventID, 'theAEEventID', InMode), - (EventHandler, 'handler', InMode), - (AlwaysFalse, 'isSysHandler', InMode), -) -functions.append(f) - -f = AEFunction(OSErr, 'AERemoveEventHandler', - (AEEventClass, 'theAEEventClass', InMode), - (AEEventID, 'theAEEventID', InMode), - (AEEventHandlerUPP, 'handler', InMode), - (AlwaysFalse, 'isSysHandler', InMode), -) -functions.append(f) - -f = AEFunction(OSErr, 'AEGetEventHandler', - (AEEventClass, 'theAEEventClass', InMode), - (AEEventID, 'theAEEventID', InMode), - (EventHandler, 'handler', OutMode), - (AlwaysFalse, 'isSysHandler', InMode), -) -functions.append(f) - -f = AEFunction(OSErr, 'AEManagerInfo', - (AEKeyword, 'keyWord', InMode), - (long, 'result', OutMode), -) -functions.append(f) - diff --git a/Mac/Modules/cm/Cmgen.py b/Mac/Modules/cm/Cmgen.py deleted file mode 100644 index 5edeb24..0000000 --- a/Mac/Modules/cm/Cmgen.py +++ /dev/null @@ -1,158 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Components.h' - -f = Function(Component, 'RegisterComponentResource', - (ComponentResourceHandle, 'tr', InMode), - (short, 'global', InMode), -) -functions.append(f) - -f = Method(OSErr, 'UnregisterComponent', - (Component, 'aComponent', InMode), -) -c_methods.append(f) - -f = Function(Component, 'FindNextComponent', - (Component, 'aComponent', InMode), - (ComponentDescription, 'looking', InMode), -) -functions.append(f) - -f = Function(long, 'CountComponents', - (ComponentDescription, 'looking', InMode), -) -functions.append(f) - -f = Method(OSErr, 'GetComponentInfo', - (Component, 'aComponent', InMode), - (ComponentDescription, 'cd', OutMode), - (Handle, 'componentName', InMode), - (Handle, 'componentInfo', InMode), - (Handle, 'componentIcon', InMode), -) -c_methods.append(f) - -f = Function(long, 'GetComponentListModSeed', -) -functions.append(f) - -f = Method(ComponentInstance, 'OpenComponent', - (Component, 'aComponent', InMode), -) -c_methods.append(f) - -f = Method(OSErr, 'CloseComponent', - (ComponentInstance, 'aComponentInstance', InMode), -) -ci_methods.append(f) - -f = Method(OSErr, 'GetComponentInstanceError', - (ComponentInstance, 'aComponentInstance', InMode), -) -ci_methods.append(f) - -f = Method(long, 'ComponentFunctionImplemented', - (ComponentInstance, 'ci', InMode), - (short, 'ftnNumber', InMode), -) -ci_methods.append(f) - -f = Method(long, 'GetComponentVersion', - (ComponentInstance, 'ci', InMode), -) -ci_methods.append(f) - -f = Method(long, 'ComponentSetTarget', - (ComponentInstance, 'ci', InMode), - (ComponentInstance, 'target', InMode), -) -ci_methods.append(f) - -f = Method(void, 'SetComponentInstanceError', - (ComponentInstance, 'aComponentInstance', InMode), - (OSErr, 'theError', InMode), -) -ci_methods.append(f) - -f = Method(long, 'GetComponentRefcon', - (Component, 'aComponent', InMode), -) -c_methods.append(f) - -f = Method(void, 'SetComponentRefcon', - (Component, 'aComponent', InMode), - (long, 'theRefcon', InMode), -) -c_methods.append(f) - -f = Method(short, 'OpenComponentResFile', - (Component, 'aComponent', InMode), -) -c_methods.append(f) - -f = Function(OSErr, 'CloseComponentResFile', - (short, 'refnum', InMode), -) -functions.append(f) - -f = Method(Handle, 'GetComponentInstanceStorage', - (ComponentInstance, 'aComponentInstance', InMode), -) -ci_methods.append(f) - -f = Method(void, 'SetComponentInstanceStorage', - (ComponentInstance, 'aComponentInstance', InMode), - (Handle, 'theStorage', InMode), -) -ci_methods.append(f) - -f = Method(long, 'GetComponentInstanceA5', - (ComponentInstance, 'aComponentInstance', InMode), -) -ci_methods.append(f) - -f = Method(void, 'SetComponentInstanceA5', - (ComponentInstance, 'aComponentInstance', InMode), - (long, 'theA5', InMode), -) -ci_methods.append(f) - -f = Method(long, 'CountComponentInstances', - (Component, 'aComponent', InMode), -) -c_methods.append(f) - -f = Method(OSErr, 'SetDefaultComponent', - (Component, 'aComponent', InMode), - (short, 'flags', InMode), -) -c_methods.append(f) - -f = Function(ComponentInstance, 'OpenDefaultComponent', - (OSType, 'componentType', InMode), - (OSType, 'componentSubType', InMode), -) -functions.append(f) - -f = Method(Component, 'CaptureComponent', - (Component, 'capturedComponent', InMode), - (Component, 'capturingComponent', InMode), -) -c_methods.append(f) - -f = Method(OSErr, 'UncaptureComponent', - (Component, 'aComponent', InMode), -) -c_methods.append(f) - -f = Function(long, 'RegisterComponentResourceFile', - (short, 'resRefNum', InMode), - (short, 'global', InMode), -) -functions.append(f) - -f = Method(OSErr, 'GetComponentIconSuite', - (Component, 'aComponent', InMode), - (Handle, 'iconSuite', OutMode), -) -c_methods.append(f) - diff --git a/Mac/Modules/ctl/ctlgen.py b/Mac/Modules/ctl/ctlgen.py deleted file mode 100644 index eefd175..0000000 --- a/Mac/Modules/ctl/ctlgen.py +++ /dev/null @@ -1,173 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Controls.h' - -f = Function(ControlRef, 'NewControl', - (WindowRef, 'theWindow', InMode), - (Rect_ptr, 'boundsRect', InMode), - (ConstStr255Param, 'title', InMode), - (Boolean, 'visible', InMode), - (SInt16, 'value', InMode), - (SInt16, 'min', InMode), - (SInt16, 'max', InMode), - (SInt16, 'procID', InMode), - (SInt32, 'refCon', InMode), -) -functions.append(f) - -f = Function(ControlRef, 'GetNewControl', - (SInt16, 'controlID', InMode), - (WindowRef, 'owner', InMode), -) -functions.append(f) - -f = Method(void, 'DisposeControl', - (ControlRef, 'theControl', InMode), -) -methods.append(f) - -f = Function(void, 'KillControls', - (WindowRef, 'theWindow', InMode), -) -functions.append(f) - -f = Method(void, 'ShowControl', - (ControlRef, 'theControl', InMode), -) -methods.append(f) - -f = Method(void, 'HideControl', - (ControlRef, 'theControl', InMode), -) -methods.append(f) - -f = Function(void, 'DrawControls', - (WindowRef, 'theWindow', InMode), -) -functions.append(f) - -f = Method(void, 'Draw1Control', - (ControlRef, 'theControl', InMode), -) -methods.append(f) - -f = Function(void, 'UpdateControls', - (WindowRef, 'theWindow', InMode), - (RgnHandle, 'updateRegion', InMode), -) -functions.append(f) - -f = Method(void, 'HiliteControl', - (ControlRef, 'theControl', InMode), - (ControlPartCode, 'hiliteState', InMode), -) -methods.append(f) - -f = Method(ControlPartCode, 'TrackControl', - (ControlRef, 'theControl', InMode), - (Point, 'thePoint', InMode), - (FakeType('(ControlActionUPP)0'), 'actionProc', InMode), -) -methods.append(f) - -f = Method(void, 'DragControl', - (ControlRef, 'theControl', InMode), - (Point, 'startPoint', InMode), - (Rect_ptr, 'limitRect', InMode), - (Rect_ptr, 'slopRect', InMode), - (DragConstraint, 'axis', InMode), -) -methods.append(f) - -f = Method(ControlPartCode, 'TestControl', - (ControlRef, 'theControl', InMode), - (Point, 'thePoint', InMode), -) -methods.append(f) - -f = Function(ControlPartCode, 'FindControl', - (Point, 'thePoint', InMode), - (WindowRef, 'theWindow', InMode), - (ExistingControlHandle, 'theControl', OutMode), -) -functions.append(f) - -f = Method(void, 'MoveControl', - (ControlRef, 'theControl', InMode), - (SInt16, 'h', InMode), - (SInt16, 'v', InMode), -) -methods.append(f) - -f = Method(void, 'SizeControl', - (ControlRef, 'theControl', InMode), - (SInt16, 'w', InMode), - (SInt16, 'h', InMode), -) -methods.append(f) - -f = Method(void, 'SetControlTitle', - (ControlRef, 'theControl', InMode), - (ConstStr255Param, 'title', InMode), -) -methods.append(f) - -f = Method(void, 'GetControlTitle', - (ControlRef, 'theControl', InMode), - (Str255, 'title', InMode), -) -methods.append(f) - -f = Method(SInt16, 'GetControlValue', - (ControlRef, 'theControl', InMode), -) -methods.append(f) - -f = Method(void, 'SetControlValue', - (ControlRef, 'theControl', InMode), - (SInt16, 'newValue', InMode), -) -methods.append(f) - -f = Method(SInt16, 'GetControlMinimum', - (ControlRef, 'theControl', InMode), -) -methods.append(f) - -f = Method(void, 'SetControlMinimum', - (ControlRef, 'theControl', InMode), - (SInt16, 'newMinimum', InMode), -) -methods.append(f) - -f = Method(SInt16, 'GetControlMaximum', - (ControlRef, 'theControl', InMode), -) -methods.append(f) - -f = Method(void, 'SetControlMaximum', - (ControlRef, 'theControl', InMode), - (SInt16, 'newMaximum', InMode), -) -methods.append(f) - -f = Method(SInt16, 'GetControlVariant', - (ControlRef, 'theControl', InMode), -) -methods.append(f) - -f = Method(void, 'SetControlAction', - (ControlRef, 'theControl', InMode), - (FakeType('(ControlActionUPP)0'), 'actionProc', InMode), -) -methods.append(f) - -f = Method(void, 'SetControlReference', - (ControlRef, 'theControl', InMode), - (SInt32, 'data', InMode), -) -methods.append(f) - -f = Method(SInt32, 'GetControlReference', - (ControlRef, 'theControl', InMode), -) -methods.append(f) - diff --git a/Mac/Modules/dlg/dlggen.py b/Mac/Modules/dlg/dlggen.py deleted file mode 100644 index 7eb9728..0000000 --- a/Mac/Modules/dlg/dlggen.py +++ /dev/null @@ -1,228 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Dialogs.h' - -f = Function(DialogRef, 'NewDialog', - (NullStorage, 'wStorage', InMode), - (Rect_ptr, 'boundsRect', InMode), - (ConstStr255Param, 'title', InMode), - (Boolean, 'visible', InMode), - (short, 'procID', InMode), - (WindowRef, 'behind', InMode), - (Boolean, 'goAwayFlag', InMode), - (long, 'refCon', InMode), - (Handle, 'itmLstHndl', InMode), -) -functions.append(f) - -f = Function(DialogRef, 'GetNewDialog', - (short, 'dialogID', InMode), - (NullStorage, 'dStorage', InMode), - (WindowRef, 'behind', InMode), -) -functions.append(f) - -f = Function(void, 'ParamText', - (ConstStr255Param, 'param0', InMode), - (ConstStr255Param, 'param1', InMode), - (ConstStr255Param, 'param2', InMode), - (ConstStr255Param, 'param3', InMode), -) -functions.append(f) - -f = Function(void, 'ModalDialog', - (ModalFilterUPP, 'modalFilter', InMode), - (short, 'itemHit', OutMode), -) -functions.append(f) - -f = Function(Boolean, 'IsDialogEvent', - (EventRecord_ptr, 'theEvent', InMode), -) -functions.append(f) - -f = Function(Boolean, 'DialogSelect', - (EventRecord_ptr, 'theEvent', InMode), - (ExistingDialogPtr, 'theDialog', OutMode), - (short, 'itemHit', OutMode), -) -functions.append(f) - -f = Method(void, 'DrawDialog', - (DialogRef, 'theDialog', InMode), -) -methods.append(f) - -f = Method(void, 'UpdateDialog', - (DialogRef, 'theDialog', InMode), - (RgnHandle, 'updateRgn', InMode), -) -methods.append(f) - -f = Function(short, 'Alert', - (short, 'alertID', InMode), - (ModalFilterUPP, 'modalFilter', InMode), -) -functions.append(f) - -f = Function(short, 'StopAlert', - (short, 'alertID', InMode), - (ModalFilterUPP, 'modalFilter', InMode), -) -functions.append(f) - -f = Function(short, 'NoteAlert', - (short, 'alertID', InMode), - (ModalFilterUPP, 'modalFilter', InMode), -) -functions.append(f) - -f = Function(short, 'CautionAlert', - (short, 'alertID', InMode), - (ModalFilterUPP, 'modalFilter', InMode), -) -functions.append(f) - -f = Method(void, 'GetDialogItem', - (DialogRef, 'theDialog', InMode), - (short, 'itemNo', InMode), - (short, 'itemType', OutMode), - (OptHandle, 'item', OutMode), - (Rect, 'box', OutMode), -) -methods.append(f) - -f = Method(void, 'SetDialogItem', - (DialogRef, 'theDialog', InMode), - (short, 'itemNo', InMode), - (short, 'itemType', InMode), - (Handle, 'item', InMode), - (Rect_ptr, 'box', InMode), -) -methods.append(f) - -f = Method(void, 'HideDialogItem', - (DialogRef, 'theDialog', InMode), - (short, 'itemNo', InMode), -) -methods.append(f) - -f = Method(void, 'ShowDialogItem', - (DialogRef, 'theDialog', InMode), - (short, 'itemNo', InMode), -) -methods.append(f) - -f = Method(void, 'SelectDialogItemText', - (DialogRef, 'theDialog', InMode), - (short, 'itemNo', InMode), - (short, 'strtSel', InMode), - (short, 'endSel', InMode), -) -methods.append(f) - -f = Function(void, 'GetDialogItemText', - (Handle, 'item', InMode), - (Str255, 'text', OutMode), -) -functions.append(f) - -f = Function(void, 'SetDialogItemText', - (Handle, 'item', InMode), - (ConstStr255Param, 'text', InMode), -) -functions.append(f) - -f = Method(short, 'FindDialogItem', - (DialogRef, 'theDialog', InMode), - (Point, 'thePt', InMode), -) -methods.append(f) - -f = Function(DialogRef, 'NewColorDialog', - (NullStorage, 'dStorage', InMode), - (Rect_ptr, 'boundsRect', InMode), - (ConstStr255Param, 'title', InMode), - (Boolean, 'visible', InMode), - (short, 'procID', InMode), - (WindowRef, 'behind', InMode), - (Boolean, 'goAwayFlag', InMode), - (long, 'refCon', InMode), - (Handle, 'items', InMode), -) -functions.append(f) - -f = Function(short, 'GetAlertStage', -) -functions.append(f) - -f = Function(void, 'ResetAlertStage', -) -functions.append(f) - -f = Method(void, 'DialogCut', - (DialogRef, 'theDialog', InMode), -) -methods.append(f) - -f = Method(void, 'DialogPaste', - (DialogRef, 'theDialog', InMode), -) -methods.append(f) - -f = Method(void, 'DialogCopy', - (DialogRef, 'theDialog', InMode), -) -methods.append(f) - -f = Method(void, 'DialogDelete', - (DialogRef, 'theDialog', InMode), -) -methods.append(f) - -f = Function(void, 'SetDialogFont', - (short, 'value', InMode), -) -functions.append(f) - -f = Method(void, 'AppendDITL', - (DialogRef, 'theDialog', InMode), - (Handle, 'theHandle', InMode), - (DITLMethod, 'method', InMode), -) -methods.append(f) - -f = Method(short, 'CountDITL', - (DialogRef, 'theDialog', InMode), -) -methods.append(f) - -f = Method(void, 'ShortenDITL', - (DialogRef, 'theDialog', InMode), - (short, 'numberItems', InMode), -) -methods.append(f) - -f = Method(Boolean, 'StdFilterProc', - (DialogRef, 'theDialog', InMode), - (EventRecord, 'event', OutMode), - (short, 'itemHit', OutMode), -) -methods.append(f) - -f = Method(OSErr, 'SetDialogDefaultItem', - (DialogRef, 'theDialog', InMode), - (short, 'newItem', InMode), -) -methods.append(f) - -f = Method(OSErr, 'SetDialogCancelItem', - (DialogRef, 'theDialog', InMode), - (short, 'newItem', InMode), -) -methods.append(f) - -f = Method(OSErr, 'SetDialogTracksCursor', - (DialogRef, 'theDialog', InMode), - (Boolean, 'tracks', InMode), -) -methods.append(f) - diff --git a/Mac/Modules/evt/evtgen.py b/Mac/Modules/evt/evtgen.py deleted file mode 100644 index afffb10..0000000 --- a/Mac/Modules/evt/evtgen.py +++ /dev/null @@ -1,100 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Events.h' - -f = Function(UInt32, 'GetCaretTime', -) -functions.append(f) - -f = Function(void, 'SetEventMask', - (EventMask, 'value', InMode), -) -functions.append(f) - -f = Function(UInt32, 'GetDblTime', -) -functions.append(f) - -f = Function(Boolean, 'GetNextEvent', - (EventMask, 'eventMask', InMode), - (EventRecord, 'theEvent', OutMode), -) -functions.append(f) - -f = Function(Boolean, 'WaitNextEvent', - (EventMask, 'eventMask', InMode), - (EventRecord, 'theEvent', OutMode), - (UInt32, 'sleep', InMode), - (RgnHandle, 'mouseRgn', InMode), -) -functions.append(f) - -f = Function(Boolean, 'EventAvail', - (EventMask, 'eventMask', InMode), - (EventRecord, 'theEvent', OutMode), -) -functions.append(f) - -f = Function(void, 'GetMouse', - (Point, 'mouseLoc', OutMode), -) -functions.append(f) - -f = Function(Boolean, 'Button', -) -functions.append(f) - -f = Function(Boolean, 'StillDown', -) -functions.append(f) - -f = Function(Boolean, 'WaitMouseUp', -) -functions.append(f) - -f = Function(void, 'GetKeys', - (KeyMap, 'theKeys', OutMode), -) -functions.append(f) - -f = Function(UInt32, 'TickCount', -) -functions.append(f) - -f = Function(OSErr, 'PostEvent', - (EventKind, 'eventNum', InMode), - (UInt32, 'eventMsg', InMode), -) -functions.append(f) - -f = Function(Boolean, 'OSEventAvail', - (EventMask, 'mask', InMode), - (EventRecord, 'theEvent', OutMode), -) -functions.append(f) - -f = Function(Boolean, 'GetOSEvent', - (EventMask, 'mask', InMode), - (EventRecord, 'theEvent', OutMode), -) -functions.append(f) - -f = Function(void, 'FlushEvents', - (EventMask, 'whichMask', InMode), - (EventMask, 'stopMask', InMode), -) -functions.append(f) - -f = Function(void, 'SystemClick', - (EventRecord_ptr, 'theEvent', InMode), - (WindowPtr, 'theWindow', InMode), -) -functions.append(f) - -f = Function(void, 'SystemTask', -) -functions.append(f) - -f = Function(Boolean, 'SystemEvent', - (EventRecord_ptr, 'theEvent', InMode), -) -functions.append(f) - diff --git a/Mac/Modules/fm/Fmgen.py b/Mac/Modules/fm/Fmgen.py deleted file mode 100644 index 194d034..0000000 --- a/Mac/Modules/fm/Fmgen.py +++ /dev/null @@ -1,84 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Fonts.h' - -f = Function(void, 'InitFonts', -) -functions.append(f) - -f = Function(void, 'GetFontName', - (short, 'familyID', InMode), - (Str255, 'name', OutMode), -) -functions.append(f) - -f = Function(void, 'GetFNum', - (ConstStr255Param, 'name', InMode), - (short, 'familyID', OutMode), -) -functions.append(f) - -f = Function(Boolean, 'RealFont', - (short, 'fontNum', InMode), - (short, 'size', InMode), -) -functions.append(f) - -f = Function(void, 'SetFontLock', - (Boolean, 'lockFlag', InMode), -) -functions.append(f) - -f = Function(void, 'SetFScaleDisable', - (Boolean, 'fscaleDisable', InMode), -) -functions.append(f) - -f = Function(void, 'FontMetrics', - (FMetricRecPtr, 'theMetrics', OutMode), -) -functions.append(f) - -f = Function(void, 'SetFractEnable', - (Boolean, 'fractEnable', InMode), -) -functions.append(f) - -f = Function(short, 'GetDefFontSize', -) -functions.append(f) - -f = Function(Boolean, 'IsOutline', - (Point, 'numer', InMode), - (Point, 'denom', InMode), -) -functions.append(f) - -f = Function(void, 'SetOutlinePreferred', - (Boolean, 'outlinePreferred', InMode), -) -functions.append(f) - -f = Function(Boolean, 'GetOutlinePreferred', -) -functions.append(f) - -f = Function(void, 'SetPreserveGlyph', - (Boolean, 'preserveGlyph', InMode), -) -functions.append(f) - -f = Function(Boolean, 'GetPreserveGlyph', -) -functions.append(f) - -f = Function(OSErr, 'FlushFonts', -) -functions.append(f) - -f = Function(short, 'GetSysFont', -) -functions.append(f) - -f = Function(short, 'GetAppFont', -) -functions.append(f) - diff --git a/Mac/Modules/list/listgen.py b/Mac/Modules/list/listgen.py deleted file mode 100644 index f6b8d86..0000000 --- a/Mac/Modules/list/listgen.py +++ /dev/null @@ -1,160 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Lists.h' - -f = Function(ListRef, 'LNew', - (Rect_ptr, 'rView', InMode), - (Rect_ptr, 'dataBounds', InMode), - (Point, 'cSize', InMode), - (short, 'theProc', InMode), - (WindowRef, 'theWindow', InMode), - (Boolean, 'drawIt', InMode), - (Boolean, 'hasGrow', InMode), - (Boolean, 'scrollHoriz', InMode), - (Boolean, 'scrollVert', InMode), -) -functions.append(f) - -f = Method(short, 'LAddColumn', - (short, 'count', InMode), - (short, 'colNum', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(short, 'LAddRow', - (short, 'count', InMode), - (short, 'rowNum', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LDelColumn', - (short, 'count', InMode), - (short, 'colNum', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LDelRow', - (short, 'count', InMode), - (short, 'rowNum', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(Boolean, 'LGetSelect', - (Boolean, 'next', InMode), - (Cell, 'theCell', InOutMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(Cell, 'LLastClick', - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(Boolean, 'LNextCell', - (Boolean, 'hNext', InMode), - (Boolean, 'vNext', InMode), - (Cell, 'theCell', InOutMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LSize', - (short, 'listWidth', InMode), - (short, 'listHeight', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LSetDrawingMode', - (Boolean, 'drawIt', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LScroll', - (short, 'dCols', InMode), - (short, 'dRows', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LAutoScroll', - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LUpdate', - (RgnHandle, 'theRgn', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LActivate', - (Boolean, 'act', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LCellSize', - (Point, 'cSize', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(Boolean, 'LClick', - (Point, 'pt', InMode), - (short, 'modifiers', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LAddToCell', - (InBufferShortsize, 'dataPtr', InMode), - (Cell, 'theCell', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LClrCell', - (Cell, 'theCell', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LGetCell', - (VarOutBufferShortsize, 'dataPtr', InOutMode), - (Cell, 'theCell', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LRect', - (Rect, 'cellRect', OutMode), - (Cell, 'theCell', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LSetCell', - (InBufferShortsize, 'dataPtr', InMode), - (Cell, 'theCell', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LSetSelect', - (Boolean, 'setIt', InMode), - (Cell, 'theCell', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - -f = Method(void, 'LDraw', - (Cell, 'theCell', InMode), - (ListRef, 'lHandle', InMode), -) -methods.append(f) - diff --git a/Mac/Modules/menu/menugen.py b/Mac/Modules/menu/menugen.py deleted file mode 100644 index 425003b..0000000 --- a/Mac/Modules/menu/menugen.py +++ /dev/null @@ -1,272 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Menus.h' - -f = Function(short, 'GetMBarHeight', -) -functions.append(f) - -f = Function(void, 'InitMenus', -) -functions.append(f) - -f = Function(MenuRef, 'NewMenu', - (short, 'menuID', InMode), - (ConstStr255Param, 'menuTitle', InMode), -) -functions.append(f) - -f = Function(MenuRef, 'GetMenu', - (short, 'resourceID', InMode), -) -functions.append(f) - -f = Method(void, 'DisposeMenu', - (MenuRef, 'theMenu', InMode), -) -methods.append(f) - -f = Method(void, 'AppendMenu', - (MenuRef, 'menu', InMode), - (ConstStr255Param, 'data', InMode), -) -methods.append(f) - -f = Method(void, 'AppendResMenu', - (MenuRef, 'theMenu', InMode), - (ResType, 'theType', InMode), -) -methods.append(f) - -f = Method(void, 'InsertResMenu', - (MenuRef, 'theMenu', InMode), - (ResType, 'theType', InMode), - (short, 'afterItem', InMode), -) -methods.append(f) - -f = Method(void, 'InsertMenu', - (MenuRef, 'theMenu', InMode), - (short, 'beforeID', InMode), -) -methods.append(f) - -f = Function(void, 'DrawMenuBar', -) -functions.append(f) - -f = Function(void, 'InvalMenuBar', -) -functions.append(f) - -f = Function(void, 'DeleteMenu', - (short, 'menuID', InMode), -) -functions.append(f) - -f = Function(void, 'ClearMenuBar', -) -functions.append(f) - -f = Function(Handle, 'GetNewMBar', - (short, 'menuBarID', InMode), -) -functions.append(f) - -f = Function(Handle, 'GetMenuBar', -) -functions.append(f) - -f = Function(void, 'SetMenuBar', - (Handle, 'menuList', InMode), -) -functions.append(f) - -f = Method(void, 'InsertMenuItem', - (MenuRef, 'theMenu', InMode), - (ConstStr255Param, 'itemString', InMode), - (short, 'afterItem', InMode), -) -methods.append(f) - -f = Method(void, 'DeleteMenuItem', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), -) -methods.append(f) - -f = Function(long, 'MenuKey', - (short, 'ch', InMode), -) -functions.append(f) - -f = Function(void, 'HiliteMenu', - (short, 'menuID', InMode), -) -functions.append(f) - -f = Method(void, 'SetMenuItemText', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), - (ConstStr255Param, 'itemString', InMode), -) -methods.append(f) - -f = Method(void, 'GetMenuItemText', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), - (Str255, 'itemString', OutMode), -) -methods.append(f) - -f = Method(void, 'DisableItem', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), -) -methods.append(f) - -f = Method(void, 'EnableItem', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), -) -methods.append(f) - -f = Method(void, 'CheckItem', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), - (Boolean, 'checked', InMode), -) -methods.append(f) - -f = Method(void, 'SetItemMark', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), - (short, 'markChar', InMode), -) -methods.append(f) - -f = Method(void, 'GetItemMark', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), - (short, 'markChar', OutMode), -) -methods.append(f) - -f = Method(void, 'SetItemIcon', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), - (short, 'iconIndex', InMode), -) -methods.append(f) - -f = Method(void, 'GetItemIcon', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), - (short, 'iconIndex', OutMode), -) -methods.append(f) - -f = Method(void, 'SetItemStyle', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), - (short, 'chStyle', InMode), -) -methods.append(f) - -f = Method(void, 'GetItemStyle', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), - (Style, 'chStyle', OutMode), -) -methods.append(f) - -f = Method(void, 'CalcMenuSize', - (MenuRef, 'theMenu', InMode), -) -methods.append(f) - -f = Method(short, 'CountMItems', - (MenuRef, 'theMenu', InMode), -) -methods.append(f) - -f = Function(MenuRef, 'GetMenuHandle', - (short, 'menuID', InMode), -) -functions.append(f) - -f = Function(void, 'FlashMenuBar', - (short, 'menuID', InMode), -) -functions.append(f) - -f = Function(void, 'SetMenuFlash', - (short, 'count', InMode), -) -functions.append(f) - -f = Function(long, 'MenuSelect', - (Point, 'startPt', InMode), -) -functions.append(f) - -f = Function(void, 'InitProcMenu', - (short, 'resID', InMode), -) -functions.append(f) - -f = Method(void, 'GetItemCmd', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), - (short, 'cmdChar', OutMode), -) -methods.append(f) - -f = Method(void, 'SetItemCmd', - (MenuRef, 'theMenu', InMode), - (short, 'item', InMode), - (short, 'cmdChar', InMode), -) -methods.append(f) - -f = Method(long, 'PopUpMenuSelect', - (MenuRef, 'menu', InMode), - (short, 'top', InMode), - (short, 'left', InMode), - (short, 'popUpItem', InMode), -) -methods.append(f) - -f = Function(long, 'MenuChoice', -) -functions.append(f) - -f = Function(void, 'DeleteMCEntries', - (short, 'menuID', InMode), - (short, 'menuItem', InMode), -) -functions.append(f) - -f = Method(void, 'InsertFontResMenu', - (MenuRef, 'theMenu', InMode), - (short, 'afterItem', InMode), - (short, 'scriptFilter', InMode), -) -methods.append(f) - -f = Method(void, 'InsertIntlResMenu', - (MenuRef, 'theMenu', InMode), - (ResType, 'theType', InMode), - (short, 'afterItem', InMode), - (short, 'scriptFilter', InMode), -) -methods.append(f) - -f = Function(Boolean, 'SystemEdit', - (short, 'editCmd', InMode), -) -functions.append(f) - -f = Function(void, 'SystemMenu', - (long, 'menuResult', InMode), -) -functions.append(f) - diff --git a/Mac/Modules/qd/qdgen.py b/Mac/Modules/qd/qdgen.py deleted file mode 100644 index 83f427f..0000000 --- a/Mac/Modules/qd/qdgen.py +++ /dev/null @@ -1,999 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDraw.h' - -f = Function(void, 'SetPort', - (GrafPtr, 'port', InMode), -) -functions.append(f) - -f = Function(void, 'GetPort', - (GrafPtr, 'port', OutMode), -) -functions.append(f) - -f = Function(void, 'GrafDevice', - (short, 'device', InMode), -) -functions.append(f) - -f = Function(void, 'SetPortBits', - (BitMap_ptr, 'bm', InMode), -) -functions.append(f) - -f = Function(void, 'PortSize', - (short, 'width', InMode), - (short, 'height', InMode), -) -functions.append(f) - -f = Function(void, 'MovePortTo', - (short, 'leftGlobal', InMode), - (short, 'topGlobal', InMode), -) -functions.append(f) - -f = Function(void, 'SetOrigin', - (short, 'h', InMode), - (short, 'v', InMode), -) -functions.append(f) - -f = Function(void, 'SetClip', - (RgnHandle, 'rgn', InMode), -) -functions.append(f) - -f = Function(void, 'GetClip', - (RgnHandle, 'rgn', InMode), -) -functions.append(f) - -f = Function(void, 'ClipRect', - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'BackPat', - (Pattern_ptr, 'pat', InMode), -) -functions.append(f) - -f = Function(void, 'InitCursor', -) -functions.append(f) - -f = Function(void, 'SetCursor', - (Cursor_ptr, 'crsr', InMode), -) -functions.append(f) - -f = Function(void, 'HideCursor', -) -functions.append(f) - -f = Function(void, 'ShowCursor', -) -functions.append(f) - -f = Function(void, 'ObscureCursor', -) -functions.append(f) - -f = Function(void, 'HidePen', -) -functions.append(f) - -f = Function(void, 'ShowPen', -) -functions.append(f) - -f = Function(void, 'GetPen', - (Point, 'pt', OutMode), -) -functions.append(f) - -f = Function(void, 'GetPenState', - (PenState, 'pnState', OutMode), -) -functions.append(f) - -f = Function(void, 'SetPenState', - (PenState_ptr, 'pnState', InMode), -) -functions.append(f) - -f = Function(void, 'PenSize', - (short, 'width', InMode), - (short, 'height', InMode), -) -functions.append(f) - -f = Function(void, 'PenMode', - (short, 'mode', InMode), -) -functions.append(f) - -f = Function(void, 'PenPat', - (Pattern_ptr, 'pat', InMode), -) -functions.append(f) - -f = Function(void, 'PenNormal', -) -functions.append(f) - -f = Function(void, 'MoveTo', - (short, 'h', InMode), - (short, 'v', InMode), -) -functions.append(f) - -f = Function(void, 'Move', - (short, 'dh', InMode), - (short, 'dv', InMode), -) -functions.append(f) - -f = Function(void, 'LineTo', - (short, 'h', InMode), - (short, 'v', InMode), -) -functions.append(f) - -f = Function(void, 'Line', - (short, 'dh', InMode), - (short, 'dv', InMode), -) -functions.append(f) - -f = Function(void, 'ForeColor', - (long, 'color', InMode), -) -functions.append(f) - -f = Function(void, 'BackColor', - (long, 'color', InMode), -) -functions.append(f) - -f = Function(void, 'ColorBit', - (short, 'whichBit', InMode), -) -functions.append(f) - -f = Function(void, 'SetRect', - (Rect, 'r', OutMode), - (short, 'left', InMode), - (short, 'top', InMode), - (short, 'right', InMode), - (short, 'bottom', InMode), -) -functions.append(f) - -f = Function(void, 'OffsetRect', - (Rect, 'r', InOutMode), - (short, 'dh', InMode), - (short, 'dv', InMode), -) -functions.append(f) - -f = Function(void, 'InsetRect', - (Rect, 'r', InOutMode), - (short, 'dh', InMode), - (short, 'dv', InMode), -) -functions.append(f) - -f = Function(Boolean, 'SectRect', - (Rect_ptr, 'src1', InMode), - (Rect_ptr, 'src2', InMode), - (Rect, 'dstRect', OutMode), -) -functions.append(f) - -f = Function(void, 'UnionRect', - (Rect_ptr, 'src1', InMode), - (Rect_ptr, 'src2', InMode), - (Rect, 'dstRect', OutMode), -) -functions.append(f) - -f = Function(Boolean, 'EqualRect', - (Rect_ptr, 'rect1', InMode), - (Rect_ptr, 'rect2', InMode), -) -functions.append(f) - -f = Function(Boolean, 'EmptyRect', - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'FrameRect', - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'PaintRect', - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'EraseRect', - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'InvertRect', - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'FillRect', - (Rect_ptr, 'r', InMode), - (Pattern_ptr, 'pat', InMode), -) -functions.append(f) - -f = Function(void, 'FrameOval', - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'PaintOval', - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'EraseOval', - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'InvertOval', - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'FillOval', - (Rect_ptr, 'r', InMode), - (Pattern_ptr, 'pat', InMode), -) -functions.append(f) - -f = Function(void, 'FrameRoundRect', - (Rect_ptr, 'r', InMode), - (short, 'ovalWidth', InMode), - (short, 'ovalHeight', InMode), -) -functions.append(f) - -f = Function(void, 'PaintRoundRect', - (Rect_ptr, 'r', InMode), - (short, 'ovalWidth', InMode), - (short, 'ovalHeight', InMode), -) -functions.append(f) - -f = Function(void, 'EraseRoundRect', - (Rect_ptr, 'r', InMode), - (short, 'ovalWidth', InMode), - (short, 'ovalHeight', InMode), -) -functions.append(f) - -f = Function(void, 'InvertRoundRect', - (Rect_ptr, 'r', InMode), - (short, 'ovalWidth', InMode), - (short, 'ovalHeight', InMode), -) -functions.append(f) - -f = Function(void, 'FillRoundRect', - (Rect_ptr, 'r', InMode), - (short, 'ovalWidth', InMode), - (short, 'ovalHeight', InMode), - (Pattern_ptr, 'pat', InMode), -) -functions.append(f) - -f = Function(void, 'FrameArc', - (Rect_ptr, 'r', InMode), - (short, 'startAngle', InMode), - (short, 'arcAngle', InMode), -) -functions.append(f) - -f = Function(void, 'PaintArc', - (Rect_ptr, 'r', InMode), - (short, 'startAngle', InMode), - (short, 'arcAngle', InMode), -) -functions.append(f) - -f = Function(void, 'EraseArc', - (Rect_ptr, 'r', InMode), - (short, 'startAngle', InMode), - (short, 'arcAngle', InMode), -) -functions.append(f) - -f = Function(void, 'InvertArc', - (Rect_ptr, 'r', InMode), - (short, 'startAngle', InMode), - (short, 'arcAngle', InMode), -) -functions.append(f) - -f = Function(void, 'FillArc', - (Rect_ptr, 'r', InMode), - (short, 'startAngle', InMode), - (short, 'arcAngle', InMode), - (Pattern_ptr, 'pat', InMode), -) -functions.append(f) - -f = Function(RgnHandle, 'NewRgn', -) -functions.append(f) - -f = Function(void, 'OpenRgn', -) -functions.append(f) - -f = Function(void, 'CloseRgn', - (RgnHandle, 'dstRgn', InMode), -) -functions.append(f) - -f = Function(OSErr, 'BitMapToRegion', - (RgnHandle, 'region', InMode), - (BitMap_ptr, 'bMap', InMode), -) -functions.append(f) - -f = Function(void, 'DisposeRgn', - (RgnHandle, 'rgn', InMode), -) -functions.append(f) - -f = Function(void, 'CopyRgn', - (RgnHandle, 'srcRgn', InMode), - (RgnHandle, 'dstRgn', InMode), -) -functions.append(f) - -f = Function(void, 'SetEmptyRgn', - (RgnHandle, 'rgn', InMode), -) -functions.append(f) - -f = Function(void, 'SetRectRgn', - (RgnHandle, 'rgn', InMode), - (short, 'left', InMode), - (short, 'top', InMode), - (short, 'right', InMode), - (short, 'bottom', InMode), -) -functions.append(f) - -f = Function(void, 'RectRgn', - (RgnHandle, 'rgn', InMode), - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'OffsetRgn', - (RgnHandle, 'rgn', InMode), - (short, 'dh', InMode), - (short, 'dv', InMode), -) -functions.append(f) - -f = Function(void, 'InsetRgn', - (RgnHandle, 'rgn', InMode), - (short, 'dh', InMode), - (short, 'dv', InMode), -) -functions.append(f) - -f = Function(void, 'SectRgn', - (RgnHandle, 'srcRgnA', InMode), - (RgnHandle, 'srcRgnB', InMode), - (RgnHandle, 'dstRgn', InMode), -) -functions.append(f) - -f = Function(void, 'UnionRgn', - (RgnHandle, 'srcRgnA', InMode), - (RgnHandle, 'srcRgnB', InMode), - (RgnHandle, 'dstRgn', InMode), -) -functions.append(f) - -f = Function(void, 'DiffRgn', - (RgnHandle, 'srcRgnA', InMode), - (RgnHandle, 'srcRgnB', InMode), - (RgnHandle, 'dstRgn', InMode), -) -functions.append(f) - -f = Function(void, 'XorRgn', - (RgnHandle, 'srcRgnA', InMode), - (RgnHandle, 'srcRgnB', InMode), - (RgnHandle, 'dstRgn', InMode), -) -functions.append(f) - -f = Function(Boolean, 'RectInRgn', - (Rect_ptr, 'r', InMode), - (RgnHandle, 'rgn', InMode), -) -functions.append(f) - -f = Function(Boolean, 'EqualRgn', - (RgnHandle, 'rgnA', InMode), - (RgnHandle, 'rgnB', InMode), -) -functions.append(f) - -f = Function(Boolean, 'EmptyRgn', - (RgnHandle, 'rgn', InMode), -) -functions.append(f) - -f = Function(void, 'FrameRgn', - (RgnHandle, 'rgn', InMode), -) -functions.append(f) - -f = Function(void, 'PaintRgn', - (RgnHandle, 'rgn', InMode), -) -functions.append(f) - -f = Function(void, 'EraseRgn', - (RgnHandle, 'rgn', InMode), -) -functions.append(f) - -f = Function(void, 'InvertRgn', - (RgnHandle, 'rgn', InMode), -) -functions.append(f) - -f = Function(void, 'FillRgn', - (RgnHandle, 'rgn', InMode), - (Pattern_ptr, 'pat', InMode), -) -functions.append(f) - -f = Function(void, 'ScrollRect', - (Rect_ptr, 'r', InMode), - (short, 'dh', InMode), - (short, 'dv', InMode), - (RgnHandle, 'updateRgn', InMode), -) -functions.append(f) - -f = Function(void, 'CopyBits', - (BitMap_ptr, 'srcBits', InMode), - (BitMap_ptr, 'dstBits', InMode), - (Rect_ptr, 'srcRect', InMode), - (Rect_ptr, 'dstRect', InMode), - (short, 'mode', InMode), - (OptRgnHandle, 'maskRgn', InMode), -) -functions.append(f) - -f = Function(void, 'CopyMask', - (BitMap_ptr, 'srcBits', InMode), - (BitMap_ptr, 'maskBits', InMode), - (BitMap_ptr, 'dstBits', InMode), - (Rect_ptr, 'srcRect', InMode), - (Rect_ptr, 'maskRect', InMode), - (Rect_ptr, 'dstRect', InMode), -) -functions.append(f) - -f = Function(PicHandle, 'OpenPicture', - (Rect_ptr, 'picFrame', InMode), -) -functions.append(f) - -f = Function(void, 'PicComment', - (short, 'kind', InMode), - (short, 'dataSize', InMode), - (Handle, 'dataHandle', InMode), -) -functions.append(f) - -f = Function(void, 'ClosePicture', -) -functions.append(f) - -f = Function(void, 'DrawPicture', - (PicHandle, 'myPicture', InMode), - (Rect_ptr, 'dstRect', InMode), -) -functions.append(f) - -f = Function(void, 'KillPicture', - (PicHandle, 'myPicture', InMode), -) -functions.append(f) - -f = Function(PolyHandle, 'OpenPoly', -) -functions.append(f) - -f = Function(void, 'ClosePoly', -) -functions.append(f) - -f = Function(void, 'KillPoly', - (PolyHandle, 'poly', InMode), -) -functions.append(f) - -f = Function(void, 'OffsetPoly', - (PolyHandle, 'poly', InMode), - (short, 'dh', InMode), - (short, 'dv', InMode), -) -functions.append(f) - -f = Function(void, 'FramePoly', - (PolyHandle, 'poly', InMode), -) -functions.append(f) - -f = Function(void, 'PaintPoly', - (PolyHandle, 'poly', InMode), -) -functions.append(f) - -f = Function(void, 'ErasePoly', - (PolyHandle, 'poly', InMode), -) -functions.append(f) - -f = Function(void, 'InvertPoly', - (PolyHandle, 'poly', InMode), -) -functions.append(f) - -f = Function(void, 'FillPoly', - (PolyHandle, 'poly', InMode), - (Pattern_ptr, 'pat', InMode), -) -functions.append(f) - -f = Function(void, 'SetPt', - (Point, 'pt', OutMode), - (short, 'h', InMode), - (short, 'v', InMode), -) -functions.append(f) - -f = Function(void, 'LocalToGlobal', - (Point, 'pt', InOutMode), -) -functions.append(f) - -f = Function(void, 'GlobalToLocal', - (Point, 'pt', InOutMode), -) -functions.append(f) - -f = Function(short, 'Random', -) -functions.append(f) - -f = Function(Boolean, 'GetPixel', - (short, 'h', InMode), - (short, 'v', InMode), -) -functions.append(f) - -f = Function(void, 'ScalePt', - (Point, 'pt', InOutMode), - (Rect_ptr, 'srcRect', InMode), - (Rect_ptr, 'dstRect', InMode), -) -functions.append(f) - -f = Function(void, 'MapPt', - (Point, 'pt', InOutMode), - (Rect_ptr, 'srcRect', InMode), - (Rect_ptr, 'dstRect', InMode), -) -functions.append(f) - -f = Function(void, 'MapRect', - (Rect, 'r', InOutMode), - (Rect_ptr, 'srcRect', InMode), - (Rect_ptr, 'dstRect', InMode), -) -functions.append(f) - -f = Function(void, 'MapRgn', - (RgnHandle, 'rgn', InMode), - (Rect_ptr, 'srcRect', InMode), - (Rect_ptr, 'dstRect', InMode), -) -functions.append(f) - -f = Function(void, 'MapPoly', - (PolyHandle, 'poly', InMode), - (Rect_ptr, 'srcRect', InMode), - (Rect_ptr, 'dstRect', InMode), -) -functions.append(f) - -f = Function(void, 'StdBits', - (BitMap_ptr, 'srcBits', InMode), - (Rect_ptr, 'srcRect', InMode), - (Rect_ptr, 'dstRect', InMode), - (short, 'mode', InMode), - (OptRgnHandle, 'maskRgn', InMode), -) -functions.append(f) - -f = Function(void, 'AddPt', - (Point, 'src', InMode), - (Point, 'dst', InOutMode), -) -functions.append(f) - -f = Function(Boolean, 'EqualPt', - (Point, 'pt1', InMode), - (Point, 'pt2', InMode), -) -functions.append(f) - -f = Function(Boolean, 'PtInRect', - (Point, 'pt', InMode), - (Rect_ptr, 'r', InMode), -) -functions.append(f) - -f = Function(void, 'Pt2Rect', - (Point, 'pt1', InMode), - (Point, 'pt2', InMode), - (Rect, 'dstRect', OutMode), -) -functions.append(f) - -f = Function(void, 'PtToAngle', - (Rect_ptr, 'r', InMode), - (Point, 'pt', InMode), - (short, 'angle', OutMode), -) -functions.append(f) - -f = Function(void, 'SubPt', - (Point, 'src', InMode), - (Point, 'dst', InOutMode), -) -functions.append(f) - -f = Function(Boolean, 'PtInRgn', - (Point, 'pt', InMode), - (RgnHandle, 'rgn', InMode), -) -functions.append(f) - -f = Function(PixMapHandle, 'NewPixMap', -) -functions.append(f) - -f = Function(void, 'DisposePixMap', - (PixMapHandle, 'pm', InMode), -) -functions.append(f) - -f = Function(void, 'CopyPixMap', - (PixMapHandle, 'srcPM', InMode), - (PixMapHandle, 'dstPM', InMode), -) -functions.append(f) - -f = Function(PixPatHandle, 'NewPixPat', -) -functions.append(f) - -f = Function(void, 'DisposePixPat', - (PixPatHandle, 'pp', InMode), -) -functions.append(f) - -f = Function(void, 'CopyPixPat', - (PixPatHandle, 'srcPP', InMode), - (PixPatHandle, 'dstPP', InMode), -) -functions.append(f) - -f = Function(void, 'PenPixPat', - (PixPatHandle, 'pp', InMode), -) -functions.append(f) - -f = Function(void, 'BackPixPat', - (PixPatHandle, 'pp', InMode), -) -functions.append(f) - -f = Function(PixPatHandle, 'GetPixPat', - (short, 'patID', InMode), -) -functions.append(f) - -f = Function(void, 'MakeRGBPat', - (PixPatHandle, 'pp', InMode), - (RGBColor_ptr, 'myColor', InMode), -) -functions.append(f) - -f = Function(void, 'FillCRect', - (Rect_ptr, 'r', InMode), - (PixPatHandle, 'pp', InMode), -) -functions.append(f) - -f = Function(void, 'FillCOval', - (Rect_ptr, 'r', InMode), - (PixPatHandle, 'pp', InMode), -) -functions.append(f) - -f = Function(void, 'FillCRoundRect', - (Rect_ptr, 'r', InMode), - (short, 'ovalWidth', InMode), - (short, 'ovalHeight', InMode), - (PixPatHandle, 'pp', InMode), -) -functions.append(f) - -f = Function(void, 'FillCArc', - (Rect_ptr, 'r', InMode), - (short, 'startAngle', InMode), - (short, 'arcAngle', InMode), - (PixPatHandle, 'pp', InMode), -) -functions.append(f) - -f = Function(void, 'FillCRgn', - (RgnHandle, 'rgn', InMode), - (PixPatHandle, 'pp', InMode), -) -functions.append(f) - -f = Function(void, 'FillCPoly', - (PolyHandle, 'poly', InMode), - (PixPatHandle, 'pp', InMode), -) -functions.append(f) - -f = Function(void, 'RGBForeColor', - (RGBColor_ptr, 'color', InMode), -) -functions.append(f) - -f = Function(void, 'RGBBackColor', - (RGBColor_ptr, 'color', InMode), -) -functions.append(f) - -f = Function(void, 'SetCPixel', - (short, 'h', InMode), - (short, 'v', InMode), - (RGBColor_ptr, 'cPix', InMode), -) -functions.append(f) - -f = Function(void, 'SetPortPix', - (PixMapHandle, 'pm', InMode), -) -functions.append(f) - -f = Function(void, 'GetCPixel', - (short, 'h', InMode), - (short, 'v', InMode), - (RGBColor, 'cPix', OutMode), -) -functions.append(f) - -f = Function(void, 'GetForeColor', - (RGBColor, 'color', OutMode), -) -functions.append(f) - -f = Function(void, 'GetBackColor', - (RGBColor, 'color', OutMode), -) -functions.append(f) - -f = Function(void, 'OpColor', - (RGBColor_ptr, 'color', InMode), -) -functions.append(f) - -f = Function(void, 'HiliteColor', - (RGBColor_ptr, 'color', InMode), -) -functions.append(f) - -f = Function(void, 'AllocCursor', -) -functions.append(f) - -f = Function(long, 'GetCTSeed', -) -functions.append(f) - -f = Function(long, 'Color2Index', - (RGBColor_ptr, 'myColor', InMode), -) -functions.append(f) - -f = Function(void, 'Index2Color', - (long, 'index', InMode), - (RGBColor, 'aColor', OutMode), -) -functions.append(f) - -f = Function(void, 'InvertColor', - (RGBColor, 'myColor', OutMode), -) -functions.append(f) - -f = Function(Boolean, 'RealColor', - (RGBColor_ptr, 'color', InMode), -) -functions.append(f) - -f = Function(void, 'SetClientID', - (short, 'id', InMode), -) -functions.append(f) - -f = Function(void, 'ProtectEntry', - (short, 'index', InMode), - (Boolean, 'protect', InMode), -) -functions.append(f) - -f = Function(void, 'ReserveEntry', - (short, 'index', InMode), - (Boolean, 'reserve', InMode), -) -functions.append(f) - -f = Function(short, 'QDError', -) -functions.append(f) - -f = Function(void, 'CopyDeepMask', - (BitMap_ptr, 'srcBits', InMode), - (BitMap_ptr, 'maskBits', InMode), - (BitMap_ptr, 'dstBits', InMode), - (Rect_ptr, 'srcRect', InMode), - (Rect_ptr, 'maskRect', InMode), - (Rect_ptr, 'dstRect', InMode), - (short, 'mode', InMode), - (OptRgnHandle, 'maskRgn', InMode), -) -functions.append(f) - -f = Function(PatHandle, 'GetPattern', - (short, 'patternID', InMode), -) -functions.append(f) - -f = Function(CursHandle, 'GetCursor', - (short, 'cursorID', InMode), -) -functions.append(f) - -f = Function(PicHandle, 'GetPicture', - (short, 'pictureID', InMode), -) -functions.append(f) - -f = Function(long, 'DeltaPoint', - (Point, 'ptA', InMode), - (Point, 'ptB', InMode), -) -functions.append(f) - -f = Function(void, 'ShieldCursor', - (Rect_ptr, 'shieldRect', InMode), - (Point, 'offsetPt', InMode), -) -functions.append(f) - -f = Function(void, 'ScreenRes', - (short, 'scrnHRes', OutMode), - (short, 'scrnVRes', OutMode), -) -functions.append(f) - -f = Function(void, 'GetIndPattern', - (Pattern, 'thePat', OutMode), - (short, 'patternListID', InMode), - (short, 'index', InMode), -) -functions.append(f) - -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDrawText.h' - -f = Function(void, 'TextFont', - (short, 'font', InMode), -) -functions.append(f) - -f = Function(void, 'TextFace', - (short, 'face', InMode), -) -functions.append(f) - -f = Function(void, 'TextMode', - (short, 'mode', InMode), -) -functions.append(f) - -f = Function(void, 'TextSize', - (short, 'size', InMode), -) -functions.append(f) - -f = Function(void, 'SpaceExtra', - (Fixed, 'extra', InMode), -) -functions.append(f) - -f = Function(void, 'DrawChar', - (short, 'ch', InMode), -) -functions.append(f) - -f = Function(void, 'DrawString', - (ConstStr255Param, 's', InMode), -) -functions.append(f) - -f = Function(void, 'DrawText', - (TextThingie, 'textBuf', InMode), - (short, 'firstByte', InMode), - (short, 'byteCount', InMode), -) -functions.append(f) - -f = Function(short, 'CharWidth', - (short, 'ch', InMode), -) -functions.append(f) - -f = Function(short, 'StringWidth', - (ConstStr255Param, 's', InMode), -) -functions.append(f) - -f = Function(short, 'TextWidth', - (TextThingie, 'textBuf', InMode), - (short, 'firstByte', InMode), - (short, 'byteCount', InMode), -) -functions.append(f) - -f = Function(void, 'GetFontInfo', - (FontInfo, 'info', OutMode), -) -functions.append(f) - -f = Function(void, 'CharExtra', - (Fixed, 'extra', InMode), -) -functions.append(f) - diff --git a/Mac/Modules/qt/qtgen.py b/Mac/Modules/qt/qtgen.py deleted file mode 100644 index 03b29e7..0000000 --- a/Mac/Modules/qt/qtgen.py +++ /dev/null @@ -1,1712 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Movies.h' - -f = Function(OSErr, 'EnterMovies', -) -functions.append(f) - -f = Function(void, 'ExitMovies', -) -functions.append(f) - -f = Function(OSErr, 'GetMoviesError', -) -functions.append(f) - -f = Function(void, 'ClearMoviesStickyError', -) -functions.append(f) - -f = Function(OSErr, 'GetMoviesStickyError', -) -functions.append(f) - -f = Method(void, 'MoviesTask', - (Movie, 'theMovie', InMode), - (long, 'maxMilliSecToUse', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'PrerollMovie', - (Movie, 'theMovie', InMode), - (TimeValue, 'time', InMode), - (Fixed, 'Rate', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'LoadMovieIntoRam', - (Movie, 'theMovie', InMode), - (TimeValue, 'time', InMode), - (TimeValue, 'duration', InMode), - (long, 'flags', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'LoadTrackIntoRam', - (Track, 'theTrack', InMode), - (TimeValue, 'time', InMode), - (TimeValue, 'duration', InMode), - (long, 'flags', InMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'LoadMediaIntoRam', - (Media, 'theMedia', InMode), - (TimeValue, 'time', InMode), - (TimeValue, 'duration', InMode), - (long, 'flags', InMode), -) -Media_methods.append(f) - -f = Method(void, 'SetMovieActive', - (Movie, 'theMovie', InMode), - (Boolean, 'active', InMode), -) -Movie_methods.append(f) - -f = Method(Boolean, 'GetMovieActive', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'StartMovie', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'StopMovie', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'GoToBeginningOfMovie', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'GoToEndOfMovie', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(Boolean, 'IsMovieDone', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(Boolean, 'GetMoviePreviewMode', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMoviePreviewMode', - (Movie, 'theMovie', InMode), - (Boolean, 'usePreview', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'ShowMoviePoster', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(TimeBase, 'GetMovieTimeBase', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(Track, 'GetNextTrackForCompositing', - (Movie, 'theMovie', InMode), - (Track, 'theTrack', InMode), -) -Movie_methods.append(f) - -f = Method(Track, 'GetPrevTrackForCompositing', - (Movie, 'theMovie', InMode), - (Track, 'theTrack', InMode), -) -Movie_methods.append(f) - -f = Method(PicHandle, 'GetMoviePict', - (Movie, 'theMovie', InMode), - (TimeValue, 'time', InMode), -) -Movie_methods.append(f) - -f = Method(PicHandle, 'GetTrackPict', - (Track, 'theTrack', InMode), - (TimeValue, 'time', InMode), -) -Track_methods.append(f) - -f = Method(PicHandle, 'GetMoviePosterPict', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'UpdateMovie', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'GetMovieBox', - (Movie, 'theMovie', InMode), - (Rect, 'boxRect', OutMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMovieBox', - (Movie, 'theMovie', InMode), - (Rect_ptr, 'boxRect', InMode), -) -Movie_methods.append(f) - -f = Method(RgnHandle, 'GetMovieDisplayClipRgn', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMovieDisplayClipRgn', - (Movie, 'theMovie', InMode), - (RgnHandle, 'theClip', InMode), -) -Movie_methods.append(f) - -f = Method(RgnHandle, 'GetMovieClipRgn', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMovieClipRgn', - (Movie, 'theMovie', InMode), - (RgnHandle, 'theClip', InMode), -) -Movie_methods.append(f) - -f = Method(RgnHandle, 'GetTrackClipRgn', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(void, 'SetTrackClipRgn', - (Track, 'theTrack', InMode), - (RgnHandle, 'theClip', InMode), -) -Track_methods.append(f) - -f = Method(RgnHandle, 'GetMovieDisplayBoundsRgn', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(RgnHandle, 'GetTrackDisplayBoundsRgn', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(RgnHandle, 'GetMovieBoundsRgn', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(RgnHandle, 'GetTrackMovieBoundsRgn', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(RgnHandle, 'GetTrackBoundsRgn', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(PixMapHandle, 'GetTrackMatte', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(void, 'SetTrackMatte', - (Track, 'theTrack', InMode), - (PixMapHandle, 'theMatte', InMode), -) -Track_methods.append(f) - -f = Function(void, 'DisposeMatte', - (PixMapHandle, 'theMatte', InMode), -) -functions.append(f) - -f = Function(Movie, 'NewMovie', - (long, 'flags', InMode), -) -functions.append(f) - -f = Method(OSErr, 'PutMovieIntoHandle', - (Movie, 'theMovie', InMode), - (Handle, 'publicMovie', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'PutMovieIntoDataFork', - (Movie, 'theMovie', InMode), - (short, 'fRefNum', InMode), - (long, 'offset', InMode), - (long, 'maxSize', InMode), -) -Movie_methods.append(f) - -f = Method(TimeScale, 'GetMovieTimeScale', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMovieTimeScale', - (Movie, 'theMovie', InMode), - (TimeScale, 'timeScale', InMode), -) -Movie_methods.append(f) - -f = Method(TimeValue, 'GetMovieDuration', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(Fixed, 'GetMovieRate', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMovieRate', - (Movie, 'theMovie', InMode), - (Fixed, 'rate', InMode), -) -Movie_methods.append(f) - -f = Method(Fixed, 'GetMoviePreferredRate', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMoviePreferredRate', - (Movie, 'theMovie', InMode), - (Fixed, 'rate', InMode), -) -Movie_methods.append(f) - -f = Method(short, 'GetMoviePreferredVolume', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMoviePreferredVolume', - (Movie, 'theMovie', InMode), - (short, 'volume', InMode), -) -Movie_methods.append(f) - -f = Method(short, 'GetMovieVolume', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMovieVolume', - (Movie, 'theMovie', InMode), - (short, 'volume', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'GetMoviePreviewTime', - (Movie, 'theMovie', InMode), - (TimeValue, 'previewTime', OutMode), - (TimeValue, 'previewDuration', OutMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMoviePreviewTime', - (Movie, 'theMovie', InMode), - (TimeValue, 'previewTime', InMode), - (TimeValue, 'previewDuration', InMode), -) -Movie_methods.append(f) - -f = Method(TimeValue, 'GetMoviePosterTime', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMoviePosterTime', - (Movie, 'theMovie', InMode), - (TimeValue, 'posterTime', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'GetMovieSelection', - (Movie, 'theMovie', InMode), - (TimeValue, 'selectionTime', OutMode), - (TimeValue, 'selectionDuration', OutMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMovieSelection', - (Movie, 'theMovie', InMode), - (TimeValue, 'selectionTime', InMode), - (TimeValue, 'selectionDuration', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMovieActiveSegment', - (Movie, 'theMovie', InMode), - (TimeValue, 'startTime', InMode), - (TimeValue, 'duration', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'GetMovieActiveSegment', - (Movie, 'theMovie', InMode), - (TimeValue, 'startTime', OutMode), - (TimeValue, 'duration', OutMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMovieTimeValue', - (Movie, 'theMovie', InMode), - (TimeValue, 'newtime', InMode), -) -Movie_methods.append(f) - -f = Method(UserData, 'GetMovieUserData', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(long, 'GetMovieTrackCount', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(Track, 'GetMovieTrack', - (Movie, 'theMovie', InMode), - (long, 'trackID', InMode), -) -Movie_methods.append(f) - -f = Method(Track, 'GetMovieIndTrack', - (Movie, 'theMovie', InMode), - (long, 'index', InMode), -) -Movie_methods.append(f) - -f = Method(Track, 'GetMovieIndTrackType', - (Movie, 'theMovie', InMode), - (long, 'index', InMode), - (OSType, 'trackType', InMode), - (long, 'flags', InMode), -) -Movie_methods.append(f) - -f = Method(long, 'GetTrackID', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(Movie, 'GetTrackMovie', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(Track, 'NewMovieTrack', - (Movie, 'theMovie', InMode), - (Fixed, 'width', InMode), - (Fixed, 'height', InMode), - (short, 'trackVolume', InMode), -) -Movie_methods.append(f) - -f = Method(Boolean, 'GetTrackEnabled', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(void, 'SetTrackEnabled', - (Track, 'theTrack', InMode), - (Boolean, 'isEnabled', InMode), -) -Track_methods.append(f) - -f = Method(long, 'GetTrackUsage', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(void, 'SetTrackUsage', - (Track, 'theTrack', InMode), - (long, 'usage', InMode), -) -Track_methods.append(f) - -f = Method(TimeValue, 'GetTrackDuration', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(TimeValue, 'GetTrackOffset', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(void, 'SetTrackOffset', - (Track, 'theTrack', InMode), - (TimeValue, 'movieOffsetTime', InMode), -) -Track_methods.append(f) - -f = Method(short, 'GetTrackLayer', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(void, 'SetTrackLayer', - (Track, 'theTrack', InMode), - (short, 'layer', InMode), -) -Track_methods.append(f) - -f = Method(Track, 'GetTrackAlternate', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(void, 'SetTrackAlternate', - (Track, 'theTrack', InMode), - (Track, 'alternateT', InMode), -) -Track_methods.append(f) - -f = Method(void, 'SetAutoTrackAlternatesEnabled', - (Movie, 'theMovie', InMode), - (Boolean, 'enable', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SelectMovieAlternates', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(short, 'GetTrackVolume', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(void, 'SetTrackVolume', - (Track, 'theTrack', InMode), - (short, 'volume', InMode), -) -Track_methods.append(f) - -f = Method(void, 'GetTrackDimensions', - (Track, 'theTrack', InMode), - (Fixed, 'width', OutMode), - (Fixed, 'height', OutMode), -) -Track_methods.append(f) - -f = Method(void, 'SetTrackDimensions', - (Track, 'theTrack', InMode), - (Fixed, 'width', InMode), - (Fixed, 'height', InMode), -) -Track_methods.append(f) - -f = Method(UserData, 'GetTrackUserData', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(Media, 'NewTrackMedia', - (Track, 'theTrack', InMode), - (OSType, 'mediaType', InMode), - (TimeScale, 'timeScale', InMode), - (Handle, 'dataRef', InMode), - (OSType, 'dataRefType', InMode), -) -Track_methods.append(f) - -f = Method(Media, 'GetTrackMedia', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(Track, 'GetMediaTrack', - (Media, 'theMedia', InMode), -) -Media_methods.append(f) - -f = Method(TimeScale, 'GetMediaTimeScale', - (Media, 'theMedia', InMode), -) -Media_methods.append(f) - -f = Method(void, 'SetMediaTimeScale', - (Media, 'theMedia', InMode), - (TimeScale, 'timeScale', InMode), -) -Media_methods.append(f) - -f = Method(TimeValue, 'GetMediaDuration', - (Media, 'theMedia', InMode), -) -Media_methods.append(f) - -f = Method(short, 'GetMediaLanguage', - (Media, 'theMedia', InMode), -) -Media_methods.append(f) - -f = Method(void, 'SetMediaLanguage', - (Media, 'theMedia', InMode), - (short, 'language', InMode), -) -Media_methods.append(f) - -f = Method(short, 'GetMediaQuality', - (Media, 'theMedia', InMode), -) -Media_methods.append(f) - -f = Method(void, 'SetMediaQuality', - (Media, 'theMedia', InMode), - (short, 'quality', InMode), -) -Media_methods.append(f) - -f = Method(void, 'GetMediaHandlerDescription', - (Media, 'theMedia', InMode), - (OSType, 'mediaType', OutMode), - (Str255, 'creatorName', InMode), - (OSType, 'creatorManufacturer', OutMode), -) -Media_methods.append(f) - -f = Method(UserData, 'GetMediaUserData', - (Media, 'theMedia', InMode), -) -Media_methods.append(f) - -f = Method(MediaHandler, 'GetMediaHandler', - (Media, 'theMedia', InMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'SetMediaHandler', - (Media, 'theMedia', InMode), - (MediaHandlerComponent, 'mH', InMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'BeginMediaEdits', - (Media, 'theMedia', InMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'EndMediaEdits', - (Media, 'theMedia', InMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'SetMediaDefaultDataRefIndex', - (Media, 'theMedia', InMode), - (short, 'index', InMode), -) -Media_methods.append(f) - -f = Method(void, 'GetMediaDataHandlerDescription', - (Media, 'theMedia', InMode), - (short, 'index', InMode), - (OSType, 'dhType', OutMode), - (Str255, 'creatorName', InMode), - (OSType, 'creatorManufacturer', OutMode), -) -Media_methods.append(f) - -f = Method(DataHandler, 'GetMediaDataHandler', - (Media, 'theMedia', InMode), - (short, 'index', InMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'SetMediaDataHandler', - (Media, 'theMedia', InMode), - (short, 'index', InMode), - (DataHandlerComponent, 'dataHandler', InMode), -) -Media_methods.append(f) - -f = Function(Component, 'GetDataHandler', - (Handle, 'dataRef', InMode), - (OSType, 'dataHandlerSubType', InMode), - (long, 'flags', InMode), -) -functions.append(f) - -f = Method(long, 'GetMediaSampleDescriptionCount', - (Media, 'theMedia', InMode), -) -Media_methods.append(f) - -f = Method(void, 'GetMediaSampleDescription', - (Media, 'theMedia', InMode), - (long, 'index', InMode), - (SampleDescriptionHandle, 'descH', InMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'SetMediaSampleDescription', - (Media, 'theMedia', InMode), - (long, 'index', InMode), - (SampleDescriptionHandle, 'descH', InMode), -) -Media_methods.append(f) - -f = Method(long, 'GetMediaSampleCount', - (Media, 'theMedia', InMode), -) -Media_methods.append(f) - -f = Method(void, 'SampleNumToMediaTime', - (Media, 'theMedia', InMode), - (long, 'logicalSampleNum', InMode), - (TimeValue, 'sampleTime', OutMode), - (TimeValue, 'sampleDuration', OutMode), -) -Media_methods.append(f) - -f = Method(void, 'MediaTimeToSampleNum', - (Media, 'theMedia', InMode), - (TimeValue, 'time', InMode), - (long, 'sampleNum', OutMode), - (TimeValue, 'sampleTime', OutMode), - (TimeValue, 'sampleDuration', OutMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'AddMediaSample', - (Media, 'theMedia', InMode), - (Handle, 'dataIn', InMode), - (long, 'inOffset', InMode), - (unsigned_long, 'size', InMode), - (TimeValue, 'durationPerSample', InMode), - (SampleDescriptionHandle, 'sampleDescriptionH', InMode), - (long, 'numberOfSamples', InMode), - (short, 'sampleFlags', InMode), - (TimeValue, 'sampleTime', OutMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'AddMediaSampleReference', - (Media, 'theMedia', InMode), - (long, 'dataOffset', InMode), - (unsigned_long, 'size', InMode), - (TimeValue, 'durationPerSample', InMode), - (SampleDescriptionHandle, 'sampleDescriptionH', InMode), - (long, 'numberOfSamples', InMode), - (short, 'sampleFlags', InMode), - (TimeValue, 'sampleTime', OutMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'GetMediaSample', - (Media, 'theMedia', InMode), - (Handle, 'dataOut', InMode), - (long, 'maxSizeToGrow', InMode), - (long, 'size', OutMode), - (TimeValue, 'time', InMode), - (TimeValue, 'sampleTime', OutMode), - (TimeValue, 'durationPerSample', OutMode), - (SampleDescriptionHandle, 'sampleDescriptionH', InMode), - (long, 'sampleDescriptionIndex', OutMode), - (long, 'maxNumberOfSamples', InMode), - (long, 'numberOfSamples', OutMode), - (short, 'sampleFlags', OutMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'GetMediaSampleReference', - (Media, 'theMedia', InMode), - (long, 'dataOffset', OutMode), - (long, 'size', OutMode), - (TimeValue, 'time', InMode), - (TimeValue, 'sampleTime', OutMode), - (TimeValue, 'durationPerSample', OutMode), - (SampleDescriptionHandle, 'sampleDescriptionH', InMode), - (long, 'sampleDescriptionIndex', OutMode), - (long, 'maxNumberOfSamples', InMode), - (long, 'numberOfSamples', OutMode), - (short, 'sampleFlags', OutMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'SetMediaPreferredChunkSize', - (Media, 'theMedia', InMode), - (long, 'maxChunkSize', InMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'GetMediaPreferredChunkSize', - (Media, 'theMedia', InMode), - (long, 'maxChunkSize', OutMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'SetMediaShadowSync', - (Media, 'theMedia', InMode), - (long, 'frameDiffSampleNum', InMode), - (long, 'syncSampleNum', InMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'GetMediaShadowSync', - (Media, 'theMedia', InMode), - (long, 'frameDiffSampleNum', InMode), - (long, 'syncSampleNum', OutMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'InsertMediaIntoTrack', - (Track, 'theTrack', InMode), - (TimeValue, 'trackStart', InMode), - (TimeValue, 'mediaTime', InMode), - (TimeValue, 'mediaDuration', InMode), - (Fixed, 'mediaRate', InMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'InsertTrackSegment', - (Track, 'srcTrack', InMode), - (Track, 'dstTrack', InMode), - (TimeValue, 'srcIn', InMode), - (TimeValue, 'srcDuration', InMode), - (TimeValue, 'dstIn', InMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'InsertMovieSegment', - (Movie, 'srcMovie', InMode), - (Movie, 'dstMovie', InMode), - (TimeValue, 'srcIn', InMode), - (TimeValue, 'srcDuration', InMode), - (TimeValue, 'dstIn', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'InsertEmptyTrackSegment', - (Track, 'dstTrack', InMode), - (TimeValue, 'dstIn', InMode), - (TimeValue, 'dstDuration', InMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'InsertEmptyMovieSegment', - (Movie, 'dstMovie', InMode), - (TimeValue, 'dstIn', InMode), - (TimeValue, 'dstDuration', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'DeleteTrackSegment', - (Track, 'theTrack', InMode), - (TimeValue, 'startTime', InMode), - (TimeValue, 'duration', InMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'DeleteMovieSegment', - (Movie, 'theMovie', InMode), - (TimeValue, 'startTime', InMode), - (TimeValue, 'duration', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'ScaleTrackSegment', - (Track, 'theTrack', InMode), - (TimeValue, 'startTime', InMode), - (TimeValue, 'oldDuration', InMode), - (TimeValue, 'newDuration', InMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'ScaleMovieSegment', - (Movie, 'theMovie', InMode), - (TimeValue, 'startTime', InMode), - (TimeValue, 'oldDuration', InMode), - (TimeValue, 'newDuration', InMode), -) -Movie_methods.append(f) - -f = Method(Movie, 'CutMovieSelection', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(Movie, 'CopyMovieSelection', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'PasteMovieSelection', - (Movie, 'theMovie', InMode), - (Movie, 'src', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'AddMovieSelection', - (Movie, 'theMovie', InMode), - (Movie, 'src', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'ClearMovieSelection', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Function(OSErr, 'PasteHandleIntoMovie', - (Handle, 'h', InMode), - (OSType, 'handleType', InMode), - (Movie, 'theMovie', InMode), - (long, 'flags', InMode), - (ComponentInstance, 'userComp', InMode), -) -functions.append(f) - -f = Method(OSErr, 'PutMovieIntoTypedHandle', - (Movie, 'theMovie', InMode), - (Track, 'targetTrack', InMode), - (OSType, 'handleType', InMode), - (Handle, 'publicMovie', InMode), - (TimeValue, 'start', InMode), - (TimeValue, 'dur', InMode), - (long, 'flags', InMode), - (ComponentInstance, 'userComp', InMode), -) -Movie_methods.append(f) - -f = Method(Component, 'IsScrapMovie', - (Track, 'targetTrack', InMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'CopyTrackSettings', - (Track, 'srcTrack', InMode), - (Track, 'dstTrack', InMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'CopyMovieSettings', - (Movie, 'srcMovie', InMode), - (Movie, 'dstMovie', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'AddEmptyTrackToMovie', - (Track, 'srcTrack', InMode), - (Movie, 'dstMovie', InMode), - (Handle, 'dataRef', InMode), - (OSType, 'dataRefType', InMode), - (Track, 'dstTrack', OutMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'AddTrackReference', - (Track, 'theTrack', InMode), - (Track, 'refTrack', InMode), - (OSType, 'refType', InMode), - (long, 'addedIndex', OutMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'DeleteTrackReference', - (Track, 'theTrack', InMode), - (OSType, 'refType', InMode), - (long, 'index', InMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'SetTrackReference', - (Track, 'theTrack', InMode), - (Track, 'refTrack', InMode), - (OSType, 'refType', InMode), - (long, 'index', InMode), -) -Track_methods.append(f) - -f = Method(Track, 'GetTrackReference', - (Track, 'theTrack', InMode), - (OSType, 'refType', InMode), - (long, 'index', InMode), -) -Track_methods.append(f) - -f = Method(OSType, 'GetNextTrackReferenceType', - (Track, 'theTrack', InMode), - (OSType, 'refType', InMode), -) -Track_methods.append(f) - -f = Method(long, 'GetTrackReferenceCount', - (Track, 'theTrack', InMode), - (OSType, 'refType', InMode), -) -Track_methods.append(f) - -f = Method(OSErr, 'ConvertMovieToFile', - (Movie, 'theMovie', InMode), - (Track, 'onlyTrack', InMode), - (FSSpec_ptr, 'outputFile', InMode), - (OSType, 'fileType', InMode), - (OSType, 'creator', InMode), - (ScriptCode, 'scriptTag', InMode), - (short, 'resID', OutMode), - (long, 'flags', InMode), - (ComponentInstance, 'userComp', InMode), -) -Movie_methods.append(f) - -f = Function(TimeValue, 'TrackTimeToMediaTime', - (TimeValue, 'value', InMode), - (Track, 'theTrack', InMode), -) -functions.append(f) - -f = Method(Fixed, 'GetTrackEditRate', - (Track, 'theTrack', InMode), - (TimeValue, 'atTime', InMode), -) -Track_methods.append(f) - -f = Method(long, 'GetMovieDataSize', - (Movie, 'theMovie', InMode), - (TimeValue, 'startTime', InMode), - (TimeValue, 'duration', InMode), -) -Movie_methods.append(f) - -f = Method(long, 'GetTrackDataSize', - (Track, 'theTrack', InMode), - (TimeValue, 'startTime', InMode), - (TimeValue, 'duration', InMode), -) -Track_methods.append(f) - -f = Method(long, 'GetMediaDataSize', - (Media, 'theMedia', InMode), - (TimeValue, 'startTime', InMode), - (TimeValue, 'duration', InMode), -) -Media_methods.append(f) - -f = Method(Boolean, 'PtInMovie', - (Movie, 'theMovie', InMode), - (Point, 'pt', InMode), -) -Movie_methods.append(f) - -f = Method(Boolean, 'PtInTrack', - (Track, 'theTrack', InMode), - (Point, 'pt', InMode), -) -Track_methods.append(f) - -f = Method(void, 'SetMovieLanguage', - (Movie, 'theMovie', InMode), - (long, 'language', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'GetUserData', - (UserData, 'theUserData', InMode), - (Handle, 'data', InMode), - (OSType, 'udType', InMode), - (long, 'index', InMode), -) -UserData_methods.append(f) - -f = Method(OSErr, 'AddUserData', - (UserData, 'theUserData', InMode), - (Handle, 'data', InMode), - (OSType, 'udType', InMode), -) -UserData_methods.append(f) - -f = Method(OSErr, 'RemoveUserData', - (UserData, 'theUserData', InMode), - (OSType, 'udType', InMode), - (long, 'index', InMode), -) -UserData_methods.append(f) - -f = Method(short, 'CountUserDataType', - (UserData, 'theUserData', InMode), - (OSType, 'udType', InMode), -) -UserData_methods.append(f) - -f = Method(long, 'GetNextUserDataType', - (UserData, 'theUserData', InMode), - (OSType, 'udType', InMode), -) -UserData_methods.append(f) - -f = Method(OSErr, 'AddUserDataText', - (UserData, 'theUserData', InMode), - (Handle, 'data', InMode), - (OSType, 'udType', InMode), - (long, 'index', InMode), - (short, 'itlRegionTag', InMode), -) -UserData_methods.append(f) - -f = Method(OSErr, 'GetUserDataText', - (UserData, 'theUserData', InMode), - (Handle, 'data', InMode), - (OSType, 'udType', InMode), - (long, 'index', InMode), - (short, 'itlRegionTag', InMode), -) -UserData_methods.append(f) - -f = Method(OSErr, 'RemoveUserDataText', - (UserData, 'theUserData', InMode), - (OSType, 'udType', InMode), - (long, 'index', InMode), - (short, 'itlRegionTag', InMode), -) -UserData_methods.append(f) - -f = Function(OSErr, 'NewUserData', - (UserData, 'theUserData', OutMode), -) -functions.append(f) - -f = Function(OSErr, 'NewUserDataFromHandle', - (Handle, 'h', InMode), - (UserData, 'theUserData', OutMode), -) -functions.append(f) - -f = Method(OSErr, 'PutUserDataIntoHandle', - (UserData, 'theUserData', InMode), - (Handle, 'h', InMode), -) -UserData_methods.append(f) - -f = Method(void, 'GetMediaNextInterestingTime', - (Media, 'theMedia', InMode), - (short, 'interestingTimeFlags', InMode), - (TimeValue, 'time', InMode), - (Fixed, 'rate', InMode), - (TimeValue, 'interestingTime', OutMode), - (TimeValue, 'interestingDuration', OutMode), -) -Media_methods.append(f) - -f = Method(void, 'GetTrackNextInterestingTime', - (Track, 'theTrack', InMode), - (short, 'interestingTimeFlags', InMode), - (TimeValue, 'time', InMode), - (Fixed, 'rate', InMode), - (TimeValue, 'interestingTime', OutMode), - (TimeValue, 'interestingDuration', OutMode), -) -Track_methods.append(f) - -f = Method(void, 'GetMovieNextInterestingTime', - (Movie, 'theMovie', InMode), - (short, 'interestingTimeFlags', InMode), - (short, 'numMediaTypes', InMode), - (OSType_ptr, 'whichMediaTypes', InMode), - (TimeValue, 'time', InMode), - (Fixed, 'rate', InMode), - (TimeValue, 'interestingTime', OutMode), - (TimeValue, 'interestingDuration', OutMode), -) -Movie_methods.append(f) - -f = Function(OSErr, 'CreateMovieFile', - (FSSpec_ptr, 'fileSpec', InMode), - (OSType, 'creator', InMode), - (ScriptCode, 'scriptTag', InMode), - (long, 'createMovieFileFlags', InMode), - (short, 'resRefNum', OutMode), - (Movie, 'newmovie', OutMode), -) -functions.append(f) - -f = Function(OSErr, 'OpenMovieFile', - (FSSpec_ptr, 'fileSpec', InMode), - (short, 'resRefNum', OutMode), - (SInt8, 'permission', InMode), -) -functions.append(f) - -f = Function(OSErr, 'CloseMovieFile', - (short, 'resRefNum', InMode), -) -functions.append(f) - -f = Function(OSErr, 'DeleteMovieFile', - (FSSpec_ptr, 'fileSpec', InMode), -) -functions.append(f) - -f = Function(OSErr, 'NewMovieFromFile', - (Movie, 'theMovie', OutMode), - (short, 'resRefNum', InMode), - (dummyshortptr, 'resId', InMode), - (dummyStringPtr, 'resName', InMode), - (short, 'newMovieFlags', InMode), - (Boolean, 'dataRefWasChanged', OutMode), -) -functions.append(f) - -f = Function(OSErr, 'NewMovieFromHandle', - (Movie, 'theMovie', OutMode), - (Handle, 'h', InMode), - (short, 'newMovieFlags', InMode), - (Boolean, 'dataRefWasChanged', OutMode), -) -functions.append(f) - -f = Function(OSErr, 'NewMovieFromDataFork', - (Movie, 'theMovie', OutMode), - (short, 'fRefNum', InMode), - (long, 'fileOffset', InMode), - (short, 'newMovieFlags', InMode), - (Boolean, 'dataRefWasChanged', OutMode), -) -functions.append(f) - -f = Method(OSErr, 'AddMovieResource', - (Movie, 'theMovie', InMode), - (short, 'resRefNum', InMode), - (short, 'resId', OutMode), - (ConstStr255Param, 'resName', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'UpdateMovieResource', - (Movie, 'theMovie', InMode), - (short, 'resRefNum', InMode), - (short, 'resId', InMode), - (ConstStr255Param, 'resName', InMode), -) -Movie_methods.append(f) - -f = Function(OSErr, 'RemoveMovieResource', - (short, 'resRefNum', InMode), - (short, 'resId', InMode), -) -functions.append(f) - -f = Method(Boolean, 'HasMovieChanged', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'ClearMovieChanged', - (Movie, 'theMovie', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'SetMovieDefaultDataRef', - (Movie, 'theMovie', InMode), - (Handle, 'dataRef', InMode), - (OSType, 'dataRefType', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'GetMovieDefaultDataRef', - (Movie, 'theMovie', InMode), - (Handle, 'dataRef', OutMode), - (OSType, 'dataRefType', OutMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'SetMovieColorTable', - (Movie, 'theMovie', InMode), - (CTabHandle, 'ctab', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'GetMovieColorTable', - (Movie, 'theMovie', InMode), - (CTabHandle, 'ctab', OutMode), -) -Movie_methods.append(f) - -f = Method(void, 'FlattenMovie', - (Movie, 'theMovie', InMode), - (long, 'movieFlattenFlags', InMode), - (FSSpec_ptr, 'theFile', InMode), - (OSType, 'creator', InMode), - (ScriptCode, 'scriptTag', InMode), - (long, 'createMovieFileFlags', InMode), - (short, 'resId', OutMode), - (ConstStr255Param, 'resName', InMode), -) -Movie_methods.append(f) - -f = Method(Movie, 'FlattenMovieData', - (Movie, 'theMovie', InMode), - (long, 'movieFlattenFlags', InMode), - (FSSpec_ptr, 'theFile', InMode), - (OSType, 'creator', InMode), - (ScriptCode, 'scriptTag', InMode), - (long, 'createMovieFileFlags', InMode), -) -Movie_methods.append(f) - -f = Function(HandlerError, 'GetVideoMediaGraphicsMode', - (MediaHandler, 'mh', InMode), - (long, 'graphicsMode', OutMode), - (RGBColor, 'opColor', OutMode), -) -functions.append(f) - -f = Function(HandlerError, 'SetVideoMediaGraphicsMode', - (MediaHandler, 'mh', InMode), - (long, 'graphicsMode', InMode), - (RGBColor_ptr, 'opColor', InMode), -) -functions.append(f) - -f = Function(HandlerError, 'GetSoundMediaBalance', - (MediaHandler, 'mh', InMode), - (short, 'balance', OutMode), -) -functions.append(f) - -f = Function(HandlerError, 'SetSoundMediaBalance', - (MediaHandler, 'mh', InMode), - (short, 'balance', InMode), -) -functions.append(f) - -f = Function(ComponentResult, 'FindNextText', - (MediaHandler, 'mh', InMode), - (Ptr, 'text', InMode), - (long, 'size', InMode), - (short, 'findFlags', InMode), - (TimeValue, 'startTime', InMode), - (TimeValue, 'foundTime', OutMode), - (TimeValue, 'foundDuration', OutMode), - (long, 'offset', OutMode), -) -functions.append(f) - -f = Method(OSErr, 'MovieSearchText', - (Movie, 'theMovie', InMode), - (Ptr, 'text', InMode), - (long, 'size', InMode), - (long, 'searchFlags', InMode), - (Track, 'searchTrack', OutMode), - (TimeValue, 'searchTime', OutMode), - (long, 'searchOffset', OutMode), -) -Movie_methods.append(f) - -f = Method(void, 'GetPosterBox', - (Movie, 'theMovie', InMode), - (Rect, 'boxRect', OutMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetPosterBox', - (Movie, 'theMovie', InMode), - (Rect_ptr, 'boxRect', InMode), -) -Movie_methods.append(f) - -f = Method(RgnHandle, 'GetMovieSegmentDisplayBoundsRgn', - (Movie, 'theMovie', InMode), - (TimeValue, 'time', InMode), - (TimeValue, 'duration', InMode), -) -Movie_methods.append(f) - -f = Method(RgnHandle, 'GetTrackSegmentDisplayBoundsRgn', - (Track, 'theTrack', InMode), - (TimeValue, 'time', InMode), - (TimeValue, 'duration', InMode), -) -Track_methods.append(f) - -f = Method(ComponentResult, 'GetTrackStatus', - (Track, 'theTrack', InMode), -) -Track_methods.append(f) - -f = Method(ComponentResult, 'GetMovieStatus', - (Movie, 'theMovie', InMode), - (Track, 'firstProblemTrack', OutMode), -) -Movie_methods.append(f) - -f = Method(MovieController, 'NewMovieController', - (Movie, 'theMovie', InMode), - (Rect_ptr, 'movieRect', InMode), - (long, 'someFlags', InMode), -) -Movie_methods.append(f) - -f = Method(OSErr, 'PutMovieOnScrap', - (Movie, 'theMovie', InMode), - (long, 'movieScrapFlags', InMode), -) -Movie_methods.append(f) - -f = Function(Movie, 'NewMovieFromScrap', - (long, 'newMovieFlags', InMode), -) -functions.append(f) - -f = Method(OSErr, 'GetMediaDataRef', - (Media, 'theMedia', InMode), - (short, 'index', InMode), - (Handle, 'dataRef', OutMode), - (OSType, 'dataRefType', OutMode), - (long, 'dataRefAttributes', OutMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'SetMediaDataRef', - (Media, 'theMedia', InMode), - (short, 'index', InMode), - (Handle, 'dataRef', InMode), - (OSType, 'dataRefType', InMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'SetMediaDataRefAttributes', - (Media, 'theMedia', InMode), - (short, 'index', InMode), - (long, 'dataRefAttributes', InMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'AddMediaDataRef', - (Media, 'theMedia', InMode), - (short, 'index', OutMode), - (Handle, 'dataRef', InMode), - (OSType, 'dataRefType', InMode), -) -Media_methods.append(f) - -f = Method(OSErr, 'GetMediaDataRefCount', - (Media, 'theMedia', InMode), - (short, 'count', OutMode), -) -Media_methods.append(f) - -f = Method(void, 'SetMoviePlayHints', - (Movie, 'theMovie', InMode), - (long, 'flags', InMode), - (long, 'flagsMask', InMode), -) -Movie_methods.append(f) - -f = Method(void, 'SetMediaPlayHints', - (Media, 'theMedia', InMode), - (long, 'flags', InMode), - (long, 'flagsMask', InMode), -) -Media_methods.append(f) - -f = Method(void, 'SetTrackLoadSettings', - (Track, 'theTrack', InMode), - (TimeValue, 'preloadTime', InMode), - (TimeValue, 'preloadDuration', InMode), - (long, 'preloadFlags', InMode), - (long, 'defaultHints', InMode), -) -Track_methods.append(f) - -f = Method(void, 'GetTrackLoadSettings', - (Track, 'theTrack', InMode), - (TimeValue, 'preloadTime', OutMode), - (TimeValue, 'preloadDuration', OutMode), - (long, 'preloadFlags', OutMode), - (long, 'defaultHints', OutMode), -) -Track_methods.append(f) - -f = Method(ComponentResult, 'MCSetMovie', - (MovieController, 'mc', InMode), - (Movie, 'theMovie', InMode), - (WindowPtr, 'movieWindow', InMode), - (Point, 'where', InMode), -) -MovieController_methods.append(f) - -f = Method(Movie, 'MCGetIndMovie', - (MovieController, 'mc', InMode), - (short, 'index', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCRemoveMovie', - (MovieController, 'mc', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCIsPlayerEvent', - (MovieController, 'mc', InMode), - (EventRecord_ptr, 'e', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCDoAction', - (MovieController, 'mc', InMode), - (short, 'action', InMode), - (mcactionparams, 'params', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCSetControllerAttached', - (MovieController, 'mc', InMode), - (Boolean, 'attach', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCIsControllerAttached', - (MovieController, 'mc', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCSetVisible', - (MovieController, 'mc', InMode), - (Boolean, 'visible', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCGetVisible', - (MovieController, 'mc', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCGetControllerBoundsRect', - (MovieController, 'mc', InMode), - (Rect, 'bounds', OutMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCSetControllerBoundsRect', - (MovieController, 'mc', InMode), - (Rect_ptr, 'bounds', InMode), -) -MovieController_methods.append(f) - -f = Method(RgnHandle, 'MCGetControllerBoundsRgn', - (MovieController, 'mc', InMode), -) -MovieController_methods.append(f) - -f = Method(RgnHandle, 'MCGetWindowRgn', - (MovieController, 'mc', InMode), - (WindowPtr, 'w', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCMovieChanged', - (MovieController, 'mc', InMode), - (Movie, 'm', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCSetDuration', - (MovieController, 'mc', InMode), - (TimeValue, 'duration', InMode), -) -MovieController_methods.append(f) - -f = Method(TimeValue, 'MCGetCurrentTime', - (MovieController, 'mc', InMode), - (TimeScale, 'scale', OutMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCNewAttachedController', - (MovieController, 'mc', InMode), - (Movie, 'theMovie', InMode), - (WindowPtr, 'w', InMode), - (Point, 'where', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCDraw', - (MovieController, 'mc', InMode), - (WindowPtr, 'w', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCActivate', - (MovieController, 'mc', InMode), - (WindowPtr, 'w', InMode), - (Boolean, 'activate', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCIdle', - (MovieController, 'mc', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCKey', - (MovieController, 'mc', InMode), - (SInt8, 'key', InMode), - (long, 'modifiers', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCClick', - (MovieController, 'mc', InMode), - (WindowPtr, 'w', InMode), - (Point, 'where', InMode), - (long, 'when', InMode), - (long, 'modifiers', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCEnableEditing', - (MovieController, 'mc', InMode), - (Boolean, 'enabled', InMode), -) -MovieController_methods.append(f) - -f = Method(long, 'MCIsEditingEnabled', - (MovieController, 'mc', InMode), -) -MovieController_methods.append(f) - -f = Method(Movie, 'MCCopy', - (MovieController, 'mc', InMode), -) -MovieController_methods.append(f) - -f = Method(Movie, 'MCCut', - (MovieController, 'mc', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCPaste', - (MovieController, 'mc', InMode), - (Movie, 'srcMovie', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCClear', - (MovieController, 'mc', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCUndo', - (MovieController, 'mc', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCPositionController', - (MovieController, 'mc', InMode), - (Rect_ptr, 'movieRect', InMode), - (Rect_ptr, 'controllerRect', InMode), - (long, 'someFlags', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCGetControllerInfo', - (MovieController, 'mc', InMode), - (long, 'someFlags', OutMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCSetClip', - (MovieController, 'mc', InMode), - (RgnHandle, 'theClip', InMode), - (RgnHandle, 'movieClip', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCGetClip', - (MovieController, 'mc', InMode), - (RgnHandle, 'theClip', OutMode), - (RgnHandle, 'movieClip', OutMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCDrawBadge', - (MovieController, 'mc', InMode), - (RgnHandle, 'movieRgn', InMode), - (RgnHandle, 'badgeRgn', OutMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCSetUpEditMenu', - (MovieController, 'mc', InMode), - (long, 'modifiers', InMode), - (MenuHandle, 'mh', InMode), -) -MovieController_methods.append(f) - -f = Method(ComponentResult, 'MCGetMenuString', - (MovieController, 'mc', InMode), - (long, 'modifiers', InMode), - (short, 'item', InMode), - (Str255, 'aString', InMode), -) -MovieController_methods.append(f) - -f = Function(TimeBase, 'NewTimeBase', -) -functions.append(f) - -f = Method(void, 'SetTimeBaseValue', - (TimeBase, 'tb', InMode), - (TimeValue, 't', InMode), - (TimeScale, 's', InMode), -) -TimeBase_methods.append(f) - -f = Method(Fixed, 'GetTimeBaseRate', - (TimeBase, 'tb', InMode), -) -TimeBase_methods.append(f) - -f = Method(void, 'SetTimeBaseRate', - (TimeBase, 'tb', InMode), - (Fixed, 'r', InMode), -) -TimeBase_methods.append(f) - -f = Method(long, 'GetTimeBaseFlags', - (TimeBase, 'tb', InMode), -) -TimeBase_methods.append(f) - -f = Method(void, 'SetTimeBaseFlags', - (TimeBase, 'tb', InMode), - (long, 'timeBaseFlags', InMode), -) -TimeBase_methods.append(f) - -f = Method(TimeBase, 'GetTimeBaseMasterTimeBase', - (TimeBase, 'tb', InMode), -) -TimeBase_methods.append(f) - -f = Method(ComponentInstance, 'GetTimeBaseMasterClock', - (TimeBase, 'tb', InMode), -) -TimeBase_methods.append(f) - -f = Method(Fixed, 'GetTimeBaseEffectiveRate', - (TimeBase, 'tb', InMode), -) -TimeBase_methods.append(f) - diff --git a/Mac/Modules/res/resgen.py b/Mac/Modules/res/resgen.py deleted file mode 100644 index 6b6c365..0000000 --- a/Mac/Modules/res/resgen.py +++ /dev/null @@ -1,277 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Resources.h' - -f = ResFunction(short, 'InitResources', -) -functions.append(f) - -f = ResFunction(void, 'RsrcZoneInit', -) -functions.append(f) - -f = ResFunction(void, 'CloseResFile', - (short, 'refNum', InMode), -) -functions.append(f) - -f = ResFunction(short, 'ResError', -) -functions.append(f) - -f = ResFunction(short, 'CurResFile', -) -functions.append(f) - -f = ResMethod(short, 'HomeResFile', - (Handle, 'theResource', InMode), -) -resmethods.append(f) - -f = ResFunction(void, 'CreateResFile', - (ConstStr255Param, 'fileName', InMode), -) -functions.append(f) - -f = ResFunction(short, 'OpenResFile', - (ConstStr255Param, 'fileName', InMode), -) -functions.append(f) - -f = ResFunction(void, 'UseResFile', - (short, 'refNum', InMode), -) -functions.append(f) - -f = ResFunction(short, 'CountTypes', -) -functions.append(f) - -f = ResFunction(short, 'Count1Types', -) -functions.append(f) - -f = ResFunction(void, 'GetIndType', - (ResType, 'theType', OutMode), - (short, 'index', InMode), -) -functions.append(f) - -f = ResFunction(void, 'Get1IndType', - (ResType, 'theType', OutMode), - (short, 'index', InMode), -) -functions.append(f) - -f = ResFunction(void, 'SetResLoad', - (Boolean, 'load', InMode), -) -functions.append(f) - -f = ResFunction(short, 'CountResources', - (ResType, 'theType', InMode), -) -functions.append(f) - -f = ResFunction(short, 'Count1Resources', - (ResType, 'theType', InMode), -) -functions.append(f) - -f = ResFunction(Handle, 'GetIndResource', - (ResType, 'theType', InMode), - (short, 'index', InMode), -) -functions.append(f) - -f = ResFunction(Handle, 'Get1IndResource', - (ResType, 'theType', InMode), - (short, 'index', InMode), -) -functions.append(f) - -f = ResFunction(Handle, 'GetResource', - (ResType, 'theType', InMode), - (short, 'theID', InMode), -) -functions.append(f) - -f = ResFunction(Handle, 'Get1Resource', - (ResType, 'theType', InMode), - (short, 'theID', InMode), -) -functions.append(f) - -f = ResFunction(Handle, 'GetNamedResource', - (ResType, 'theType', InMode), - (ConstStr255Param, 'name', InMode), -) -functions.append(f) - -f = ResFunction(Handle, 'Get1NamedResource', - (ResType, 'theType', InMode), - (ConstStr255Param, 'name', InMode), -) -functions.append(f) - -f = ResMethod(void, 'LoadResource', - (Handle, 'theResource', InMode), -) -resmethods.append(f) - -f = ResMethod(void, 'ReleaseResource', - (Handle, 'theResource', InMode), -) -resmethods.append(f) - -f = ResMethod(void, 'DetachResource', - (Handle, 'theResource', InMode), -) -resmethods.append(f) - -f = ResFunction(short, 'UniqueID', - (ResType, 'theType', InMode), -) -functions.append(f) - -f = ResFunction(short, 'Unique1ID', - (ResType, 'theType', InMode), -) -functions.append(f) - -f = ResMethod(short, 'GetResAttrs', - (Handle, 'theResource', InMode), -) -resmethods.append(f) - -f = ResMethod(void, 'GetResInfo', - (Handle, 'theResource', InMode), - (short, 'theID', OutMode), - (ResType, 'theType', OutMode), - (Str255, 'name', OutMode), -) -resmethods.append(f) - -f = ResMethod(void, 'SetResInfo', - (Handle, 'theResource', InMode), - (short, 'theID', InMode), - (ConstStr255Param, 'name', InMode), -) -resmethods.append(f) - -f = ResMethod(void, 'AddResource', - (Handle, 'theData', InMode), - (ResType, 'theType', InMode), - (short, 'theID', InMode), - (ConstStr255Param, 'name', InMode), -) -resmethods.append(f) - -f = ResMethod(long, 'GetResourceSizeOnDisk', - (Handle, 'theResource', InMode), -) -resmethods.append(f) - -f = ResMethod(long, 'GetMaxResourceSize', - (Handle, 'theResource', InMode), -) -resmethods.append(f) - -f = ResMethod(long, 'RsrcMapEntry', - (Handle, 'theResource', InMode), -) -resmethods.append(f) - -f = ResMethod(void, 'SetResAttrs', - (Handle, 'theResource', InMode), - (short, 'attrs', InMode), -) -resmethods.append(f) - -f = ResMethod(void, 'ChangedResource', - (Handle, 'theResource', InMode), -) -resmethods.append(f) - -f = ResMethod(void, 'RemoveResource', - (Handle, 'theResource', InMode), -) -resmethods.append(f) - -f = ResFunction(void, 'UpdateResFile', - (short, 'refNum', InMode), -) -functions.append(f) - -f = ResMethod(void, 'WriteResource', - (Handle, 'theResource', InMode), -) -resmethods.append(f) - -f = ResFunction(void, 'SetResPurge', - (Boolean, 'install', InMode), -) -functions.append(f) - -f = ResFunction(short, 'GetResFileAttrs', - (short, 'refNum', InMode), -) -functions.append(f) - -f = ResFunction(void, 'SetResFileAttrs', - (short, 'refNum', InMode), - (short, 'attrs', InMode), -) -functions.append(f) - -f = ResFunction(short, 'OpenRFPerm', - (ConstStr255Param, 'fileName', InMode), - (short, 'vRefNum', InMode), - (SignedByte, 'permission', InMode), -) -functions.append(f) - -f = ResFunction(Handle, 'RGetResource', - (ResType, 'theType', InMode), - (short, 'theID', InMode), -) -functions.append(f) - -f = ResFunction(short, 'HOpenResFile', - (short, 'vRefNum', InMode), - (long, 'dirID', InMode), - (ConstStr255Param, 'fileName', InMode), - (SignedByte, 'permission', InMode), -) -functions.append(f) - -f = ResFunction(void, 'HCreateResFile', - (short, 'vRefNum', InMode), - (long, 'dirID', InMode), - (ConstStr255Param, 'fileName', InMode), -) -functions.append(f) - -f = ResFunction(short, 'FSpOpenResFile', - (FSSpec_ptr, 'spec', InMode), - (SignedByte, 'permission', InMode), -) -functions.append(f) - -f = ResFunction(void, 'FSpCreateResFile', - (FSSpec_ptr, 'spec', InMode), - (OSType, 'creator', InMode), - (OSType, 'fileType', InMode), - (ScriptCode, 'scriptTag', InMode), -) -functions.append(f) - -f = ResMethod(void, 'SetResourceSize', - (Handle, 'theResource', InMode), - (long, 'newSize', InMode), -) -resmethods.append(f) - -f = ResMethod(Handle, 'GetNextFOND', - (Handle, 'fondHandle', InMode), -) -resmethods.append(f) - diff --git a/Mac/Modules/snd/sndgen.py b/Mac/Modules/snd/sndgen.py deleted file mode 100644 index c984e0c..0000000 --- a/Mac/Modules/snd/sndgen.py +++ /dev/null @@ -1,158 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Sound.h' - -f = SndFunction(void, 'SetSoundVol', - (short, 'level', InMode), -) -functions.append(f) - -f = SndFunction(void, 'GetSoundVol', - (short, 'level', OutMode), -) -functions.append(f) - -f = SndMethod(OSErr, 'SndDoCommand', - (SndChannelPtr, 'chan', InMode), - (SndCommand_ptr, 'cmd', InMode), - (Boolean, 'noWait', InMode), -) -sndmethods.append(f) - -f = SndMethod(OSErr, 'SndDoImmediate', - (SndChannelPtr, 'chan', InMode), - (SndCommand_ptr, 'cmd', InMode), -) -sndmethods.append(f) - -f = SndFunction(OSErr, 'SndNewChannel', - (SndChannelPtr, 'chan', OutMode), - (short, 'synth', InMode), - (long, 'init', InMode), - (SndCallBackUPP, 'userRoutine', InMode), -) -functions.append(f) - -f = SndMethod(OSErr, 'SndPlay', - (SndChannelPtr, 'chan', InMode), - (SndListHandle, 'sndHdl', InMode), - (Boolean, 'async', InMode), -) -sndmethods.append(f) - -f = SndFunction(OSErr, 'SndControl', - (short, 'id', InMode), - (SndCommand, 'cmd', OutMode), -) -functions.append(f) - -f = SndFunction(long, 'SndSoundManagerVersion', -) -functions.append(f) - -f = SndMethod(OSErr, 'SndStartFilePlay', - (SndChannelPtr, 'chan', InMode), - (short, 'fRefNum', InMode), - (short, 'resNum', InMode), - (long, 'bufferSize', InMode), - (FakeType('0'), 'theBuffer', InMode), - (AudioSelectionPtr, 'theSelection', InMode), - (FilePlayCompletionUPP, 'theCompletion', InMode), - (Boolean, 'async', InMode), -) -sndmethods.append(f) - -f = SndMethod(OSErr, 'SndPauseFilePlay', - (SndChannelPtr, 'chan', InMode), -) -sndmethods.append(f) - -f = SndMethod(OSErr, 'SndStopFilePlay', - (SndChannelPtr, 'chan', InMode), - (Boolean, 'quietNow', InMode), -) -sndmethods.append(f) - -f = SndMethod(OSErr, 'SndChannelStatus', - (SndChannelPtr, 'chan', InMode), - (short, 'theLength', InMode), - (SCStatus, 'theStatus', OutMode), -) -sndmethods.append(f) - -f = SndFunction(OSErr, 'SndManagerStatus', - (short, 'theLength', InMode), - (SMStatus, 'theStatus', OutMode), -) -functions.append(f) - -f = SndFunction(void, 'SndGetSysBeepState', - (short, 'sysBeepState', OutMode), -) -functions.append(f) - -f = SndFunction(OSErr, 'SndSetSysBeepState', - (short, 'sysBeepState', InMode), -) -functions.append(f) - -f = SndFunction(long, 'MACEVersion', -) -functions.append(f) - -f = SndFunction(void, 'Comp3to1', - (InOutBuffer, 'buffer', InOutMode), - (StateBlock, 'state', InOutMode), - (unsigned_long, 'numChannels', InMode), - (unsigned_long, 'whichChannel', InMode), -) -functions.append(f) - -f = SndFunction(void, 'Exp1to3', - (InOutBuffer, 'buffer', InOutMode), - (StateBlock, 'state', InOutMode), - (unsigned_long, 'numChannels', InMode), - (unsigned_long, 'whichChannel', InMode), -) -functions.append(f) - -f = SndFunction(void, 'Comp6to1', - (InOutBuffer, 'buffer', InOutMode), - (StateBlock, 'state', InOutMode), - (unsigned_long, 'numChannels', InMode), - (unsigned_long, 'whichChannel', InMode), -) -functions.append(f) - -f = SndFunction(void, 'Exp1to6', - (InOutBuffer, 'buffer', InOutMode), - (StateBlock, 'state', InOutMode), - (unsigned_long, 'numChannels', InMode), - (unsigned_long, 'whichChannel', InMode), -) -functions.append(f) - -f = SndFunction(OSErr, 'GetSysBeepVolume', - (long, 'level', OutMode), -) -functions.append(f) - -f = SndFunction(OSErr, 'SetSysBeepVolume', - (long, 'level', InMode), -) -functions.append(f) - -f = SndFunction(OSErr, 'GetDefaultOutputVolume', - (long, 'level', OutMode), -) -functions.append(f) - -f = SndFunction(OSErr, 'SetDefaultOutputVolume', - (long, 'level', InMode), -) -functions.append(f) - -f = SndFunction(OSErr, 'GetSoundHeaderOffset', - (SndListHandle, 'sndHandle', InMode), - (long, 'offset', OutMode), -) -functions.append(f) - diff --git a/Mac/Modules/win/wingen.py b/Mac/Modules/win/wingen.py deleted file mode 100644 index 36d2851..0000000 --- a/Mac/Modules/win/wingen.py +++ /dev/null @@ -1,280 +0,0 @@ -# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Windows.h' - -f = Function(RgnHandle, 'GetGrayRgn', -) -functions.append(f) - -f = Function(void, 'InitWindows', -) -functions.append(f) - -f = Function(void, 'GetWMgrPort', - (GrafPtr, 'wPort', OutMode), -) -functions.append(f) - -f = Function(WindowRef, 'NewWindow', - (NullStorage, 'wStorage', InMode), - (Rect_ptr, 'boundsRect', InMode), - (ConstStr255Param, 'title', InMode), - (Boolean, 'visible', InMode), - (short, 'theProc', InMode), - (WindowRef, 'behind', InMode), - (Boolean, 'goAwayFlag', InMode), - (long, 'refCon', InMode), -) -functions.append(f) - -f = Function(WindowRef, 'GetNewWindow', - (short, 'windowID', InMode), - (NullStorage, 'wStorage', InMode), - (WindowRef, 'behind', InMode), -) -functions.append(f) - -f = Method(void, 'GetWTitle', - (WindowRef, 'theWindow', InMode), - (Str255, 'title', OutMode), -) -methods.append(f) - -f = Method(void, 'SelectWindow', - (WindowRef, 'theWindow', InMode), -) -methods.append(f) - -f = Method(void, 'HideWindow', - (WindowRef, 'theWindow', InMode), -) -methods.append(f) - -f = Method(void, 'ShowWindow', - (WindowRef, 'theWindow', InMode), -) -methods.append(f) - -f = Method(void, 'ShowHide', - (WindowRef, 'theWindow', InMode), - (Boolean, 'showFlag', InMode), -) -methods.append(f) - -f = Method(void, 'HiliteWindow', - (WindowRef, 'theWindow', InMode), - (Boolean, 'fHilite', InMode), -) -methods.append(f) - -f = Method(void, 'BringToFront', - (WindowRef, 'theWindow', InMode), -) -methods.append(f) - -f = Method(void, 'SendBehind', - (WindowRef, 'theWindow', InMode), - (WindowRef, 'behindWindow', InMode), -) -methods.append(f) - -f = Function(ExistingWindowPtr, 'FrontWindow', -) -functions.append(f) - -f = Method(void, 'DrawGrowIcon', - (WindowRef, 'theWindow', InMode), -) -methods.append(f) - -f = Method(void, 'MoveWindow', - (WindowRef, 'theWindow', InMode), - (short, 'hGlobal', InMode), - (short, 'vGlobal', InMode), - (Boolean, 'front', InMode), -) -methods.append(f) - -f = Method(void, 'SizeWindow', - (WindowRef, 'theWindow', InMode), - (short, 'w', InMode), - (short, 'h', InMode), - (Boolean, 'fUpdate', InMode), -) -methods.append(f) - -f = Method(void, 'ZoomWindow', - (WindowRef, 'theWindow', InMode), - (short, 'partCode', InMode), - (Boolean, 'front', InMode), -) -methods.append(f) - -f = Function(void, 'InvalRect', - (Rect_ptr, 'badRect', InMode), -) -functions.append(f) - -f = Function(void, 'InvalRgn', - (RgnHandle, 'badRgn', InMode), -) -functions.append(f) - -f = Function(void, 'ValidRect', - (Rect_ptr, 'goodRect', InMode), -) -functions.append(f) - -f = Function(void, 'ValidRgn', - (RgnHandle, 'goodRgn', InMode), -) -functions.append(f) - -f = Method(void, 'BeginUpdate', - (WindowRef, 'theWindow', InMode), -) -methods.append(f) - -f = Method(void, 'EndUpdate', - (WindowRef, 'theWindow', InMode), -) -methods.append(f) - -f = Method(void, 'SetWRefCon', - (WindowRef, 'theWindow', InMode), - (long, 'data', InMode), -) -methods.append(f) - -f = Method(long, 'GetWRefCon', - (WindowRef, 'theWindow', InMode), -) -methods.append(f) - -f = Method(void, 'SetWindowPic', - (WindowRef, 'theWindow', InMode), - (PicHandle, 'pic', InMode), -) -methods.append(f) - -f = Method(PicHandle, 'GetWindowPic', - (WindowRef, 'theWindow', InMode), -) -methods.append(f) - -f = Function(Boolean, 'CheckUpdate', - (EventRecord, 'theEvent', OutMode), -) -functions.append(f) - -f = Method(void, 'ClipAbove', - (WindowRef, 'window', InMode), -) -methods.append(f) - -f = Method(void, 'SaveOld', - (WindowRef, 'window', InMode), -) -methods.append(f) - -f = Method(void, 'DrawNew', - (WindowRef, 'window', InMode), - (Boolean, 'update', InMode), -) -methods.append(f) - -f = Method(void, 'PaintOne', - (WindowRef, 'window', InMode), - (RgnHandle, 'clobberedRgn', InMode), -) -methods.append(f) - -f = Method(void, 'PaintBehind', - (WindowRef, 'startWindow', InMode), - (RgnHandle, 'clobberedRgn', InMode), -) -methods.append(f) - -f = Method(void, 'CalcVis', - (WindowRef, 'window', InMode), -) -methods.append(f) - -f = Method(void, 'CalcVisBehind', - (WindowRef, 'startWindow', InMode), - (RgnHandle, 'clobberedRgn', InMode), -) -methods.append(f) - -f = Method(long, 'GrowWindow', - (WindowRef, 'theWindow', InMode), - (Point, 'startPt', InMode), - (Rect_ptr, 'bBox', InMode), -) -methods.append(f) - -f = Function(short, 'FindWindow', - (Point, 'thePoint', InMode), - (ExistingWindowPtr, 'theWindow', OutMode), -) -functions.append(f) - -f = Function(long, 'PinRect', - (Rect_ptr, 'theRect', InMode), - (Point, 'thePt', InMode), -) -functions.append(f) - -f = Method(Boolean, 'TrackBox', - (WindowRef, 'theWindow', InMode), - (Point, 'thePt', InMode), - (short, 'partCode', InMode), -) -methods.append(f) - -f = Function(void, 'GetCWMgrPort', - (CGrafPtr, 'wMgrCPort', OutMode), -) -functions.append(f) - -f = Function(WindowRef, 'NewCWindow', - (NullStorage, 'wStorage', InMode), - (Rect_ptr, 'boundsRect', InMode), - (ConstStr255Param, 'title', InMode), - (Boolean, 'visible', InMode), - (short, 'procID', InMode), - (WindowRef, 'behind', InMode), - (Boolean, 'goAwayFlag', InMode), - (long, 'refCon', InMode), -) -functions.append(f) - -f = Function(WindowRef, 'GetNewCWindow', - (short, 'windowID', InMode), - (NullStorage, 'wStorage', InMode), - (WindowRef, 'behind', InMode), -) -functions.append(f) - -f = Method(short, 'GetWVariant', - (WindowRef, 'theWindow', InMode), -) -methods.append(f) - -f = Method(void, 'SetWTitle', - (WindowRef, 'theWindow', InMode), - (ConstStr255Param, 'title', InMode), -) -methods.append(f) - -f = Method(Boolean, 'TrackGoAway', - (WindowRef, 'theWindow', InMode), - (Point, 'thePt', InMode), -) -methods.append(f) - -f = Method(void, 'DragWindow', - (WindowRef, 'theWindow', InMode), - (Point, 'startPt', InMode), - (Rect_ptr, 'boundsRect', InMode), -) -methods.append(f) - |