6 #ifndef _INC_cAppConfig_H
7 #define _INC_cAppConfig_H
12 #include "../WinAPI/cRegKeyX.h"
13 #include "../Variant/cVariant.h"
48 void SetRegistryKey(
const IniChar_t* pszKey);
49 HRESULT GetOpenRegKey(OUT cRegKey& regSec,
const FILECHAR_t* pszSection,
bool bCreate =
true);
51 HRESULT GetOpenIni(
bool bCreate =
true);
57 UINT GetConfigUInt(
const IniChar_t* pszSection,
const IniChar_t* pszEntry,
int iDefault = 0);
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cAppConfig.h:19
bool m_bIniFileModified
If we are using the m_IniFile file vs the registry then we need to write it.
Definition: cAppConfig.h:38
cIniFile m_IniFile
Cached open INI file. (if we use it)
Definition: cAppConfig.h:37
cStringF m_sProfileName
The full path to the profile specific to this app. (or just "Appname" for a m_sRegistryKey )
Definition: cAppConfig.h:31
Definition: cVariant.h:26
Definition: cArrayString.h:19
Definition: cIniFile.h:22
Definition: cSingleton.h:30
char IniChar_t
char format even on UNICODE system! Screw M$, INI files should ALWAYS have UTF8 contents
Definition: cIniBase.h:17
char FILECHAR_t
a UTF8 char in a file name. like TCHAR
Definition: FileName.h:22
char GChar_t
My version of TCHAR, _TCHAR.
Definition: StrConst.h:26