configparser.h (fefc5f48) configparser.h (57b775ef)
1#pragma once
2
3#include <atlstr.h>
4
5class CConfigParser
6{
7 const CStringW szConfigPath;
8 CSimpleMap<CStringW, CStringW> m_Keys;

--- 5 unchanged lines hidden (view full) ---

14
15 public:
16 CConfigParser(const CStringW &FilePath);
17
18 BOOL
19 GetString(const CStringW &KeyName, CStringW &ResultString);
20 BOOL
21 GetInt(const CStringW &KeyName, INT &iResult);
1#pragma once
2
3#include <atlstr.h>
4
5class CConfigParser
6{
7 const CStringW szConfigPath;
8 CSimpleMap<CStringW, CStringW> m_Keys;

--- 5 unchanged lines hidden (view full) ---

14
15 public:
16 CConfigParser(const CStringW &FilePath);
17
18 BOOL
19 GetString(const CStringW &KeyName, CStringW &ResultString);
20 BOOL
21 GetInt(const CStringW &KeyName, INT &iResult);
22
23 UINT
24 GetSectionString(LPCWSTR Section, LPCWSTR Name, CStringW &Result);
22};
25};
26
27HRESULT
28ReadIniValue(LPCWSTR File, LPCWSTR Section, LPCWSTR Name, CStringW &Output);