home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Frameworks / Extension Shell 1.3 / Extension Shell 1.3 (Source) / Extension Shell #includes / ESConstants.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-06  |  1.3 KB  |  36 lines  |  [TEXT/R*ch]

  1. /*    NAME:
  2.         ESConstants.h
  3.  
  4.     WRITTEN BY:
  5.         Dair Grant
  6.                 
  7.     DESCRIPTION:
  8.         Holds various resource IDs and related constants that Extension Shell
  9.         depends upon. Your THINK C projects should be built accordingly.
  10.  
  11.     ___________________________________________________________________________
  12. */
  13. #ifndef __ESCONSTANTS__
  14. #define __ESCONSTANTS__
  15. //=============================================================================
  16. //        Defines                                                                 
  17. //-----------------------------------------------------------------------------
  18. #define kMaxNumIcons            20                    // NumIcons ranges from 1..20
  19. #define kMaxNumCodeResources    10                    // NumCodeResources ranges from 1..10
  20.  
  21. #define kESHandlerCodeType      'CODE'                // Type of the ES Handler code
  22. #define kRespCodeType               'CODE'                // Type of the RESP code
  23. #define kAddrsTableCodeType       'CODE'                // Type of the Address Table code
  24. #define kESHandlerCodeID           5000                // ID of the ES Handler code
  25. #define kRespCodeID                   5001                // ID of the RESP code
  26. #define kAddrsTableCodeID          5002                // ID of the Address Table code
  27.  
  28. #define kInitialiseParamBlock    0                    // Message for the ES Handler code resource
  29. #define kInitialiseAddrsTable    1                    // Message for the ES Handler code resource
  30. #define kHandleError            2                    // Message for the ES Handler code resource
  31.  
  32. #define kShiftKey                0x38                // Keycode for the shift key
  33.  
  34.         
  35. #endif
  36.