Kaydet (Commit) ded81a1f authored tarafından Jack Jansen's avatar Jack Jansen

Removed ...gen.py files from repository

üst 19171a21
# 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)
# 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)
# 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)
# 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)
# 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)
# 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)
# 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)
# 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)
This diff is collapsed.
This diff is collapsed.
# 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)
# 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)
# 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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment