Skip to content
- [Main Page](index.md) - [Classes](annotated.md) - [Files](files.md) - [Directories](dirs.md) - [Related Pages](pages.md)
- [Class List](annotated.md) - [Alphabetical List](classes.md) - [Class Hierarchy](hierarchy.md) - [Class Members](functions.md)

CMProfile Class Reference

#include <MProfile.h>

List of all members.


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