home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
vrac
/
memsz231.zip
/
PROFILE.H
< prev
next >
Wrap
Text File
|
1994-01-25
|
1KB
|
46 lines
/****************************************************************** PROFILE.H
* *
* Profile Object definitions *
* *
****************************************************************************/
#ifndef PROFILE_H
#define PROFILE_H
class Profile
{
private:
HINI Handle ; // INI file handle.
PSZ Name ; // Application Name.
public:
Profile
(
PSZ Name,
HAB Anchor,
HMODULE Library,
int DialogID,
HWND HelpWindow,
BOOL ResetFlag
) ;
~Profile ( ) ;
HINI QueryHandle ( )
{
return ( Handle ) ;
}
PSZ QueryName ( )
{
return ( Name ) ;
}
VOID Reset ( )
{
PrfWriteProfileData ( Handle, Name, PSZ(NULL), PSZ(NULL), 0 ) ;
}
} ;
#endif