9#if !defined(OWL_PROFILE_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
69 {
return WriteInt(key.c_str(),
value);}
74 {
return WriteString(key.c_str(), str);}
77 {
return WriteString(key.c_str(), str.c_str());}
An instance of TProfile encapsulates a setting within a system file, often referred to as a profile o...
bool WriteInt(const tstring &key, int value)
bool WriteString(const tstring &key, LPCTSTR str)
int GetInt(const tstring &key, int defaultInt=0)
bool GetString(const tstring &key, TCHAR *buff, unsigned buffSize, const tstring &defaultString=tstring())
TCHAR * Section
Name of the section to use.
TCHAR * FileName
File name of the .INI file.
bool WriteString(const tstring &key, const tstring &str)
Object Windows Library (OWLNext Core)
General definitions used by all ObjectWindows programs.