home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / System / Swatch / Development / swatch 1.2 / swatch INIT / drvr.globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-04-08  |  746 b   |  55 lines  |  [TEXT/KAHL]

  1. /**
  2.  
  3.     drvr.globals.h
  4.     Copyright (c) 1990, Adobe Systems, Inc.
  5.  
  6.  **/
  7.  
  8.  
  9. #ifndef _H_DRVR_GLOBALS
  10. #define _H_DRVR_GLOBALS
  11.  
  12. #include <ctypes.h>
  13.  
  14. /*******************************************************************************
  15.  **
  16.  **    Public Constants
  17.  **
  18.  **/
  19.  
  20. #define VERSION        12
  21.  
  22. #define MAX_APPS    15
  23.  
  24. enum {
  25.     csGetGlobals = 1000
  26. };
  27.  
  28.  
  29. /*******************************************************************************
  30.  **
  31.  **    Public Variables
  32.  **
  33.  **/
  34.  
  35. typedef struct {
  36.     Boolean free;
  37.     THz zone;
  38.     char appname[32];
  39. } App_stat_t;
  40.  
  41.  
  42. typedef struct {
  43.     int16 max_apps;
  44.     int16 zero;
  45.     int16 version;
  46.     int16 num_apps;
  47.     App_stat_t *apps;
  48.     Boolean apps_need_updating;
  49. } Swatch_globals_t;
  50.  
  51. extern Swatch_globals_t Globals;
  52.  
  53.  
  54. #endif  /* ifndef _H_DRVR_GLOBALS */
  55.