This commit is contained in:
Birunthan Mohanathas
2012-09-21 22:30:44 +03:00
parent 1e3d6c156d
commit 1a60511edf
2 changed files with 42 additions and 49 deletions

View File

@ -47,8 +47,8 @@ public:
CMeasure* GetMeasure(const std::wstring& name);
const std::wstring* GetVariable(const std::wstring& strVariable);
void SetVariable(const std::wstring& strVariable, const std::wstring& strValue) { SetVariable(m_Variables, strVariable, strValue); }
void SetBuiltInVariable(const std::wstring& strVariable, const std::wstring& strValue) { SetVariable(m_BuiltInVariables, strVariable, strValue); }
void SetVariable(std::wstring strVariable, const std::wstring& strValue);
void SetBuiltInVariable(const std::wstring& strVariable, const std::wstring& strValue);
const std::unordered_map<std::wstring, std::wstring>& GetVariables() { return m_Variables; }
@ -116,8 +116,7 @@ private:
static void SetVariable(std::unordered_map<std::wstring, std::wstring>& variables, const WCHAR* strVariable, const WCHAR* strValue);
static void SetMultiMonitorVariables(bool reset);
static void SetMonitorVariable(const std::wstring& strVariable, const std::wstring& strValue) { SetVariable(c_MonitorVariables, strVariable, strValue); }
static void SetMonitorVariable(const WCHAR* strVariable, const WCHAR* strValue) { SetVariable(c_MonitorVariables, strVariable, strValue); }
static void SetMonitorVariable(const WCHAR* strVariable, const WCHAR* strValue);
static std::wstring StrToUpper(const std::wstring& str) { std::wstring strTmp(str); StrToUpperC(strTmp); return strTmp; }
static std::wstring StrToUpper(const WCHAR* str) { std::wstring strTmp(str); StrToUpperC(strTmp); return strTmp; }