mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
fefc5f4823
Centralize the names of the RAPPS' registry setting sub-key, and user local settings & offline apps database sub-directories. - Change the name of the application database sub-directory from "rapps\rapps" to "RApps\appdb". - Adjust the documentation to reflect this. - Simplify CConfigParser constructor by removing GetINIFullPath().
22 lines
434 B
C++
22 lines
434 B
C++
#pragma once
|
|
|
|
#include <atlstr.h>
|
|
|
|
class CConfigParser
|
|
{
|
|
const CStringW szConfigPath;
|
|
CSimpleMap<CStringW, CStringW> m_Keys;
|
|
|
|
void
|
|
CacheINI();
|
|
void
|
|
ReadSection(CStringW &Buffer, const CStringW &Section, BOOL isArch);
|
|
|
|
public:
|
|
CConfigParser(const CStringW &FilePath);
|
|
|
|
BOOL
|
|
GetString(const CStringW &KeyName, CStringW &ResultString);
|
|
BOOL
|
|
GetInt(const CStringW &KeyName, INT &iResult);
|
|
};
|