Something went wrong. Try again.
Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
540 B · 23 lines
C
123456789101112131415161718192021222324#ifndef __AppleEvents_H__#define __AppleEvents_H__
enum : AEEventID {kAEOpenApplication = 'oapp',kAEReopenApplication = 'rapp',kAEOpenDocuments = 'odoc',kAEPrintDocuments = 'pdoc',kAEOpenContents = 'ocon',kAEQuitApplication = 'quit',kAEAnswer = 'ansr',kAEApplicationDied = 'obit',kAEShowPreferences = 'pref',};
enum : DescType { kCoreEventClass = 'aevt',};
OSErr AEInstallEventHandler(AEEventClass theAEEventClass, AEEventID theAEEventID, AEEventHandlerUPP handler, SRefCon handlerRefcon, Boolean isSysHandler);
#endif