mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:55:39 +00:00
[RAPPS] Move the CConfigParser to a new file
This commit is contained in:
parent
982ee872dd
commit
ad83af36dd
7 changed files with 157 additions and 145 deletions
|
@ -41,28 +41,6 @@ BOOL ExtractFilesFromCab(const ATL::CStringW& szCabName,
|
|||
const ATL::CStringW& szCabDir,
|
||||
const ATL::CStringW& szOutputDir);
|
||||
|
||||
class CConfigParser
|
||||
{
|
||||
// Locale names cache
|
||||
const static INT m_cchLocaleSize = 5;
|
||||
|
||||
ATL::CStringW m_szLocaleID;
|
||||
ATL::CStringW m_szCachedINISectionLocale;
|
||||
ATL::CStringW m_szCachedINISectionLocaleNeutral;
|
||||
|
||||
const ATL::CStringW szConfigPath;
|
||||
|
||||
ATL::CStringW GetINIFullPath(const ATL::CStringW& FileName);
|
||||
VOID CacheINILocale();
|
||||
BOOL GetStringWorker(const ATL::CStringW& KeyName, PCWSTR Suffix, ATL::CStringW& ResultString);
|
||||
|
||||
public:
|
||||
CConfigParser(const ATL::CStringW& FileName = "");
|
||||
|
||||
BOOL GetString(const ATL::CStringW& KeyName, ATL::CStringW& ResultString);
|
||||
BOOL GetInt(const ATL::CStringW& KeyName, INT& iResult);
|
||||
};
|
||||
|
||||
BOOL PathAppendNoDirEscapeW(LPWSTR pszPath, LPCWSTR pszMore);
|
||||
|
||||
BOOL IsSystem64Bit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue