1995-12-12 11:02:03 -04:00
|
|
|
# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:AppleEvents.h'
|
1995-01-30 07:53:55 -04:00
|
|
|
|
|
|
|
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)
|
|
|
|
|
1995-07-17 08:40:10 -03:00
|
|
|
f = AEMethod(OSErr, 'AEPutPtr',
|
|
|
|
(AEDescList_ptr, 'theAEDescList', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(long, 'index', InMode),
|
|
|
|
(DescType, 'typeCode', InMode),
|
|
|
|
(InBuffer, 'dataPtr', InMode),
|
|
|
|
)
|
1995-07-17 08:40:10 -03:00
|
|
|
aedescmethods.append(f)
|
1995-01-30 07:53:55 -04:00
|
|
|
|
1995-07-17 08:40:10 -03:00
|
|
|
f = AEMethod(OSErr, 'AEPutDesc',
|
|
|
|
(AEDescList_ptr, 'theAEDescList', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(long, 'index', InMode),
|
|
|
|
(AEDesc_ptr, 'theAEDesc', InMode),
|
|
|
|
)
|
1995-07-17 08:40:10 -03:00
|
|
|
aedescmethods.append(f)
|
1995-01-30 07:53:55 -04:00
|
|
|
|
|
|
|
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)
|
|
|
|
|
1995-07-17 08:40:10 -03:00
|
|
|
f = AEMethod(OSErr, 'AEDeleteItem',
|
|
|
|
(AEDescList_ptr, 'theAEDescList', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(long, 'index', InMode),
|
|
|
|
)
|
1995-07-17 08:40:10 -03:00
|
|
|
aedescmethods.append(f)
|
1995-01-30 07:53:55 -04:00
|
|
|
|
|
|
|
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),
|
1995-06-05 19:34:12 -03:00
|
|
|
(AEIdleUPP, 'idleProc', InMode),
|
|
|
|
(AEFilterUPP, 'filterProc', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
)
|
|
|
|
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),
|
1995-07-29 10:58:41 -03:00
|
|
|
(EventHandler, 'dispatcher', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
)
|
|
|
|
aedescmethods.append(f)
|
|
|
|
|
1995-06-05 19:34:12 -03:00
|
|
|
f = AEMethod(OSErr, 'AEGetTheCurrentEvent',
|
|
|
|
(AppleEvent_ptr, 'theAppleEvent', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
)
|
1995-06-05 19:34:12 -03:00
|
|
|
aedescmethods.append(f)
|
1995-01-30 07:53:55 -04:00
|
|
|
|
|
|
|
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),
|
1995-06-05 19:34:12 -03:00
|
|
|
(AEIdleUPP, 'idleProc', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = AEFunction(OSErr, 'AEInstallEventHandler',
|
|
|
|
(AEEventClass, 'theAEEventClass', InMode),
|
|
|
|
(AEEventID, 'theAEEventID', InMode),
|
1995-07-29 10:58:41 -03:00
|
|
|
(EventHandler, 'handler', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(AlwaysFalse, 'isSysHandler', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
|
|
|
f = AEFunction(OSErr, 'AERemoveEventHandler',
|
|
|
|
(AEEventClass, 'theAEEventClass', InMode),
|
|
|
|
(AEEventID, 'theAEEventID', InMode),
|
1995-06-05 19:34:12 -03:00
|
|
|
(AEEventHandlerUPP, 'handler', InMode),
|
1995-01-30 07:53:55 -04:00
|
|
|
(AlwaysFalse, 'isSysHandler', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
1995-07-29 10:58:41 -03:00
|
|
|
f = AEFunction(OSErr, 'AEGetEventHandler',
|
|
|
|
(AEEventClass, 'theAEEventClass', InMode),
|
|
|
|
(AEEventID, 'theAEEventID', InMode),
|
|
|
|
(EventHandler, 'handler', OutMode),
|
|
|
|
(AlwaysFalse, 'isSysHandler', InMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
|
|
|
|
1995-01-30 07:53:55 -04:00
|
|
|
f = AEFunction(OSErr, 'AEManagerInfo',
|
|
|
|
(AEKeyword, 'keyWord', InMode),
|
|
|
|
(long, 'result', OutMode),
|
|
|
|
)
|
|
|
|
functions.append(f)
|
1995-03-10 10:42:57 -04:00
|
|
|
|