this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #1583 from Lazerbeak12345/add-missing-coreservices-definitions

feat: add a few missing AppleEvent stubs

authored by

CuriousTommy and committed by
GitHub
fd4ba401 2c29d48d

+21 -1
+7
src/frameworks/CoreServices/include/AE/AEDataModel.h
··· 47 47 typedef FourCharCode AEEventID; 48 48 typedef SInt8 AEArrayType; 49 49 50 + typedef OSErr (*AEEventHandlerProcPtr)( 51 + const AppleEvent* theAppleEvent, 52 + AppleEvent* reply, 53 + SRefCon handlerRefcon 54 + ); 55 + typedef AEEventHandlerProcPtr AEEventHandlerUPP; 56 + 50 57 #endif
+2
src/frameworks/CoreServices/include/AE/AppleEvents.h
··· 18 18 kCoreEventClass = 'aevt', 19 19 }; 20 20 21 + OSErr AEInstallEventHandler(AEEventClass theAEEventClass, AEEventID theAEEventID, AEEventHandlerUPP handler, SRefCon handlerRefcon, Boolean isSysHandler); 22 + 21 23 #endif
+12 -1
src/frameworks/CoreServices/src/AE/stub.c
··· 13 13 OSErr AEDisposeDesc(AEDesc *theAEDesc) { 14 14 if (verbose) puts("STUB: AEDisposeDesc called"); 15 15 return noErr; 16 - } 16 + } 17 + 18 + OSErr AEInstallEventHandler( 19 + AEEventClass theAEEventClass, 20 + AEEventID theAEEventID, 21 + AEEventHandlerUPP handler, 22 + SRefCon handlerRefcon, 23 + Boolean isSysHandler 24 + ) { 25 + if (verbose) puts("STUB: AEInstallEventHandler called"); 26 + return noErr; 27 + }