|
Public Member Functions |
| CMProfile (char *iniFileName=NULL, BOOL flushOnWrite=FALSE, BOOL macwriteDOS=FALSE) |
| ~CMProfile () |
DWORD | GetProfileString (LPCTSTR psec, LPCTSTR pkey, LPCTSTR pdef, LPTSTR buf, DWORD bufsize) |
UINT | GetProfileInt (LPCTSTR psec, LPCTSTR pkey, UINT nDefault) |
BOOL | WriteProfileString (LPCTSTR psec, LPCTSTR pkey, LPCTSTR buf) |
BOOL | WriteProfileInt (LPCTSTR psec, LPCTSTR pkey, UINT val) |
BOOL | ProfileFlush (void) |
char * | GetIniPath (const char *fname) |
Protected Member Functions |
void | ProfileRead (void) |
BOOL | ProfileWrite (void) |
void | SetFileAttrib (char *fname) |
void | trim (CString &cs) |
void | qTrim (CString &cs) |
void | quote (CString &cs) |
Protected Attributes |
BOOL | m_Dirty |
BOOL | m_flushOnWrite |
BOOL | m_macwriteDOS |
CMapStringToPtr * | m_profList |
CString | m_iniFileName |