home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Frameworks / Extension Shell 1.3 / Sample Extensions / WhatKey ƒ / CodeConstants.h next >
Encoding:
C/C++ Source or Header  |  1994-04-06  |  1.1 KB  |  34 lines  |  [TEXT/R*ch]

  1. /*    NAME:
  2.         CodeConstants.h
  3.  
  4.     WRITTEN BY:
  5.         Dair Grant
  6.                 
  7.     DESCRIPTION:
  8.         Header file for various Extension specific constants
  9.  
  10.     NOTES:
  11.         •    The defines in this file serve as indexes into the code details array
  12.             that's embedded in a ESParamBlock, for interpreting the value of
  13.             errorIndex, and for indexing into an address table.
  14.         
  15.         •    It's also a good idea to use this file to define the various resource
  16.             types/IDs that your Extension uses.
  17.         
  18.     ___________________________________________________________________________
  19. */
  20. #ifndef __CODECONSTANTS__
  21. #define __CODECONSTANTS__
  22. //=============================================================================
  23. //        Defines                                                                 
  24. //-----------------------------------------------------------------------------
  25. #define kWhatKey                    1                            // Index into arrays
  26. #define kJGNEFilterAddress            0x0000029A                    // Address of actual filter
  27. #define kWhatKeyAddressTable        'jGnE'                        // Address table selector
  28. #define kWhatKeyResType                'CODE'                        // Resource type of selector code
  29. #define kWhatKeyResID                128                            // Resource id of selector code
  30.  
  31.  
  32.  
  33. #endif
  34.