Code cleanup.

This commit is contained in:
spx 2011-01-24 10:43:03 +00:00
parent 0ad2ef9414
commit 435ab8123a
2 changed files with 1 additions and 12 deletions

View File

@ -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.

View File

@ -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);