home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / memsz331.zip / Source.zip / CONFIG.H < prev    next >
Text File  |  1996-11-21  |  2KB  |  68 lines

  1. /******************************************************************* CONFIG.H
  2.  *                                                                          *
  3.  *                     Configure Dialog definitions                         *
  4.  *                                                                          *
  5.  ****************************************************************************/
  6.  
  7. #ifndef CONFIG_H
  8. #define CONFIG_H
  9.  
  10. #include "Profile.h"
  11.  
  12. enum {
  13.    CORNER_BL,
  14.    CORNER_BR,
  15.    CORNER_TL,
  16.    CORNER_TR
  17. } ;
  18.  
  19. enum { 
  20.    SHOWK_NEVER, 
  21.    SHOWK_ABOVE512, 
  22.    SHOWK_ALWAYS 
  23. } ;
  24.  
  25. typedef struct {
  26.  
  27.   BOOL   HideControls ;
  28.   BOOL   Float ;
  29.   BOOL   Animate ;
  30.   BOOL   TableFormat ;
  31.   BOOL   Chime ;
  32.   BOOL   ShowRemoteDrives ;
  33.   BOOL   ShowFileSystemNames ;
  34.   BOOL   ShowDiskLabels ;
  35.   BOOL   ShowSeconds ;
  36.   BOOL   Hour24 ;
  37.   USHORT ShowK ;
  38.   USHORT ShowTrueK ;
  39.   USHORT ShowM ;
  40.   ULONG  MonitorPriority ;
  41.   ULONG  TimerInterval ;
  42.   USHORT AnchorCorner ;
  43.   COLOR  NormalBackground, NormalForeground ;
  44.   COLOR  WarningBackground, WarningForeground ;
  45.   COLOR  ErrorBackground, ErrorForeground ;
  46.  
  47.   USHORT ItemCount ;
  48.   BOOL   ItemFlags [ ITEM_BASE_COUNT + MAX_DRIVES ] ;
  49.   char   DefaultLabels [ ITEM_BASE_COUNT + MAX_DRIVES ] [ 80 ] ;
  50.   char   CurrentLabels [ ITEM_BASE_COUNT + MAX_DRIVES ] [ 80 ] ;
  51.   ULONG  DefaultLevels [ ITEM_BASE_COUNT + MAX_DRIVES ] [ 2 ] ;
  52.   ULONG  WarningLevel [ ITEM_BASE_COUNT + MAX_DRIVES ] ;
  53.   ULONG  ErrorLevel [ ITEM_BASE_COUNT + MAX_DRIVES ] ;
  54.   int    LevelSense [ ITEM_BASE_COUNT + MAX_DRIVES ] ;
  55.   ULONG  MinLevel [ ITEM_BASE_COUNT + MAX_DRIVES ] ;
  56.   ULONG  MaxLevel [ ITEM_BASE_COUNT + MAX_DRIVES ] ;
  57.  
  58.   // State information.
  59.   int    Ready ;
  60.   int    MostRecentSelection ;
  61.   HWND   MainWindow ;
  62.  
  63. } CONFIG_PARMS, *PCONFIG_PARMS ;
  64.  
  65. extern FNWP ConfigureProcessor ;
  66.  
  67. #endif
  68.