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 >
Wrap
C/C++ Source or Header
|
1995-06-26
|
496b
|
22 lines
#ifndef _PROFILE
#define _PROFILE
#include <cstring.h>
class Profile {
char ProfileName[_MAX_PATH];
char Section[_MAX_PATH];
public:
Profile(const char *profileName);
void SetSection(const char *section);
BOOL DelSection(const char *section);
BOOL PutString(const char *entry, const char *value);
BOOL PutInt(const char *entry, int value);
string GetString(const char *entry, const char *Default = NULL);
int GetInt(const char *entry, int Default=0);
};
#endif