home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703A.ISO / VPR_DATA / DOGA / SOURCES / PASM.LZH / PROFILE.H < prev    next >
C/C++ Source or Header  |  1995-06-26  |  496b  |  22 lines

  1. #ifndef _PROFILE
  2. #define _PROFILE
  3.  
  4. #include <cstring.h>
  5.  
  6. class Profile {
  7.     char ProfileName[_MAX_PATH];
  8.     char Section[_MAX_PATH];
  9.  
  10. public:
  11.     Profile(const char *profileName);
  12.     void SetSection(const char *section);
  13.     BOOL DelSection(const char *section);
  14.     BOOL PutString(const char *entry, const char *value);
  15.     BOOL PutInt(const char *entry, int value);
  16.     string GetString(const char *entry, const char *Default = NULL);
  17.     int GetInt(const char *entry, int Default=0);
  18. };
  19. #endif
  20.  
  21.  
  22.