home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 June / MacFormat 25.iso / Shareware City / Developers / appe Windows 1.51.1 / aevents.h < prev    next >
Encoding:
Text File  |  1995-04-05  |  975 b   |  27 lines  |  [TEXT/KAHL]

  1. // File "aevents.h" - Header for Apple Events Handlers
  2. // This header file is Copyright Matt Slot & Slot-Machines Ltd., © 1993
  3.  
  4. #ifndef ____AEVENTS_HEADER_____
  5. #define ____AEVENTS_HEADER_____
  6.  
  7. #include <AppleEvents.h>
  8.  
  9. // * **************************************************************************** * //
  10.  
  11. typedef struct AEHandlers {
  12.     AEEventClass theClass;
  13.     AEEventID theEvent;
  14.     EventHandlerProcPtr theProc;
  15.     } AEHandlers;
  16.  
  17. // * **************************************************************************** * //
  18. // * **************************************************************************** * //
  19.  
  20. pascal short AEHandlerOAPP(AppleEvent *event, AppleEvent *reply, long refCon);
  21. pascal short AEHandlerODOC(AppleEvent *event, AppleEvent *reply, long refCon);
  22. pascal short AEHandlerPDOC(AppleEvent *event, AppleEvent *reply, long refCon);
  23. pascal short AEHandlerQUIT(AppleEvent *event, AppleEvent *reply, long refCon);
  24. void InitHLEvents(void);
  25.  
  26. #endif  ____AEVENTS_HEADER_____
  27.