home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1995 March
/
SOFM_Mar1995.bin
/
pc
/
utility
/
os2
/
clock
/
profile.h
< prev
next >
Wrap
Text File
|
1995-01-27
|
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