mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-06-07 15:24:27 +00:00
[idd] driver: add/expose CSettings read string/bool methods
This commit is contained in:
committed by
Geoffrey McRae
parent
929428c273
commit
a59040f0be
@@ -43,9 +43,11 @@ class CSettings
|
||||
bool GetExtraMode(DisplayMode & mode);
|
||||
unsigned GetDefaultRefresh() const;
|
||||
|
||||
std::wstring ReadStringValue(const wchar_t* name, const wchar_t* defaultValue);
|
||||
bool ReadBoolValue(const wchar_t* name, bool defaultValue);
|
||||
|
||||
private:
|
||||
DisplayModes m_displayModes;
|
||||
std::wstring ReadStringValue(const wchar_t* name, const wchar_t* default);
|
||||
|
||||
bool ReadModesValue(std::vector<std::wstring> &out) const;
|
||||
bool ParseModeString(const std::wstring& in, DisplayMode& out);
|
||||
|
||||
Reference in New Issue
Block a user