home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_GEN / FACETV.ZIP / TV_CONFG.ERR < prev    next >
Text File  |  1993-12-09  |  1KB  |  47 lines

  1. /************************************************************************
  2. **
  3. ** @(#)tv_confg.err    12/09/93    Chris Ahlstrom
  4. **
  5. **    Error message codes and strings for TV_CONFG.CPP/H and other
  6. ** files that support the FACE configuration-saving schemes.
  7. **
  8. **    Essentially identical to WINCONFG.ERR in the FACE_WIN
  9. ** library.
  10. **
  11. *************************************************************************/
  12.  
  13. #ifndef TV_CONFG_err                /* { TV_CONFG_err    */
  14. #define TV_CONFG_err
  15.  
  16.  
  17. typedef enum
  18. {
  19.     ERR_CFG_NONE,
  20.     ERR_CFG_CANT_ASSOCIATE_A_FILE,
  21.     ERR_CFG_NO_CONFIG_LIST,
  22.     ERR_CFG_BAD_SECTION_READ,
  23.     ERR_CFG_BAD_SECTION_WRITE,
  24.     ERR_CFG_FILE_OPEN,
  25.     ERR_CFG_FILE_CLOSE,
  26.     ERR_CFG_WRONG_KIND_OF_FILE,
  27.  
  28.     ERR_CFG_MAX
  29.  
  30. } ConfigurationError;
  31.  
  32.  
  33. static const char * const simpleConfigErrors[] =
  34. {
  35.     "no error",
  36.     "ERR_CFG_CANT_ASSOCIATE_A_FILE",
  37.     "ERR_CFG_NO_CONFIG_LIST",
  38.     "ERR_CFG_BAD_SECTION_READ",
  39.     "ERR_CFG_BAD_SECTION_WRITE",
  40.     "ERR_CFG_FILE_OPEN",
  41.     "ERR_CFG_FILE_CLOSE",
  42.     "ERR_CFG_WRONG_KIND_OF_FILE"
  43. };
  44.  
  45.  
  46. #endif                        /* } TV_CONFG_err    */
  47.