Added a version check for the skins which come with Rainmeter so they can be upgraded.

This commit is contained in:
Kimmo Pekkola
2009-09-18 18:42:50 +00:00
parent 1de7706678
commit fa6d437a71
3 changed files with 129 additions and 7 deletions

View File

@ -51,11 +51,12 @@ public:
std::wstring& GetFilename() { return m_Filename; }
std::vector<std::wstring> GetSections();
static std::vector<std::wstring> Tokenize(const std::wstring& str, const std::wstring delimiters);
private:
void ReadVariables();
void ReplaceVariables(std::wstring& result);
Gdiplus::Color ParseColor(LPCTSTR string);
std::vector<std::wstring> Tokenize(const std::wstring& str, const std::wstring delimiters);
void ReadIniFile(const std::wstring& strFileName, int depth = 0);
void SetValue(const std::wstring& strSection, const std::wstring& strKey, const std::wstring& strValue);