home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / sgwdata.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.8 KB  |  56 lines

  1. // -sgwdata.h-------------------------------------------------------------------
  2. // Defines the configuration extension data for the Sample Gateway.
  3. //
  4. // Copyright 1986 - 1998 Microsoft Corporation.  All Rights Reserved.
  5. // -----------------------------------------------------------------------------
  6.  
  7. #ifndef _SGWDATA_H_
  8. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  9. #define _SGWDATA_H_
  10.  
  11. // Name of cfg extension data blob.
  12. #define SGWBLOBNAME     "SGWData"
  13. #define SGWBLOBNAMEW    L"SGWData"
  14.  
  15. // -----------------------------------------------------------------------------
  16. // Index of properties within the extension data blob.
  17. //
  18. // NOTE: If you add a property, add it to the end of the array.  The SGWAdmin 
  19. //       code is designed to handle a growing property array with ease.  If you 
  20. //       remove one it would be easier to just make it an unused place holder.
  21. // -----------------------------------------------------------------------------
  22.  
  23. typedef enum {          
  24.     // PT_BOOLEAN
  25.     IDX_CHECK_IN_BOUND = 0,
  26.     IDX_CHECK_OUT_BOUND, 
  27.  
  28.     // PT_LONG
  29.     IDX_EDIT_THREADS_IN, 
  30.     IDX_EDIT_THREADS_OUT,
  31.     IDX_EDIT_MSGS_IN,    
  32.     IDX_EDIT_MSGS_OUT,   
  33.     IDX_EDIT_SLEEP_IN,   
  34.     IDX_EDIT_SLEEP_OUT,  
  35.     IDX_EDIT_POLLING_IN, 
  36.     IDX_EDIT_POLLING_OUT,
  37.  
  38.     // PT_STRING8
  39.     IDX_ADDR_TYPE,       
  40.     IDX_DISP_NAME,       
  41.     IDX_EMAIL_ADDR,      
  42.     IDX_DIR_IN,          
  43.     IDX_DIR_OUT,
  44.     IDX_CONVERTER_IN,
  45.     IDX_CONVERTER_OUT,
  46.  
  47.     // Total number of properties in Extension Data Blob.
  48.     // Keep this one at the very end of list.
  49.     SGWDATA_PROP_COUNT
  50. } PropIndex;
  51.  
  52. // -----------------------------------------------------------------------------
  53.  
  54. #pragma option pop /*P_O_Pop*/
  55. #endif // _SGWDATA_H_
  56.