mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Code cleanup.
This commit is contained in:
parent
0ad2ef9414
commit
435ab8123a
@ -1224,17 +1224,6 @@ const std::wstring& CConfigParser::GetValue(const std::wstring& strSection, cons
|
|||||||
return strDefault;
|
return strDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
//==============================================================================
|
|
||||||
/**
|
|
||||||
** Returns the list of sections in the ini file.
|
|
||||||
**
|
|
||||||
** \return A list of sections in the ini file.
|
|
||||||
*/
|
|
||||||
const std::vector<std::wstring>& CConfigParser::GetSections()
|
|
||||||
{
|
|
||||||
return m_Sections;
|
|
||||||
}
|
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
/**
|
/**
|
||||||
** Returns a list of keys under the given section.
|
** Returns a list of keys under the given section.
|
||||||
|
@ -68,7 +68,7 @@ public:
|
|||||||
std::vector<Gdiplus::REAL> ReadFloats(LPCTSTR section, LPCTSTR key);
|
std::vector<Gdiplus::REAL> ReadFloats(LPCTSTR section, LPCTSTR key);
|
||||||
|
|
||||||
const std::wstring& GetFilename() { return m_Filename; }
|
const std::wstring& GetFilename() { return m_Filename; }
|
||||||
const std::vector<std::wstring>& GetSections();
|
const std::vector<std::wstring>& GetSections() { return m_Sections; }
|
||||||
|
|
||||||
// Returns an int if the formula was read successfully, -1 for failure.
|
// Returns an int if the formula was read successfully, -1 for failure.
|
||||||
int ReadFormula(const std::wstring& result, double* number);
|
int ReadFormula(const std::wstring& result, double* number);
|
||||||
|
Loading…
Reference in New Issue
Block a user