home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / XTIME002.ZIP / XTIME.H < prev   
Text File  |  1989-08-14  |  497b  |  31 lines

  1. /*--------------------
  2.    XTIME.H header file
  3.   --------------------*/
  4.  
  5. #define _PARM(a) &argv[a][1]
  6. #define NO_ERROR 0
  7. #define SEMANTIC_ERROR 1
  8. #define PROGRAM_NOT_FOUND 2
  9. #define NO_TIME_GIVEN 3
  10.  
  11. #define ID_TIMER 1
  12.  
  13. typedef struct 
  14.   {
  15.   unsigned hours : 5;
  16.   unsigned mins  : 6;
  17.   unsigned secs  : 5;
  18.   }
  19. TIMEINFO;
  20.  
  21. typedef struct _INITDATA
  22.   {
  23.   COLOR    background;
  24.   COLOR    text_color;
  25.   SWP      wp;
  26.   char     on_off;
  27.   TIMEINFO start_time;
  28.   } 
  29. INITDATA;
  30.  
  31.