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

@ -175,12 +175,14 @@ private:
void Refresh(const WCHAR* arg);
HMENU CreateSkinMenu(CMeterWindow* meterWindow, int index);
void ChangeSkinIndex(HMENU subMenu, int index);
int ScanForConfigsRecursive(std::wstring& path, std::wstring base, int index, std::vector<CONFIGMENU>& menu);
int ScanForConfigsRecursive(std::wstring& path, std::wstring base, int index, std::vector<CONFIGMENU>& menu, bool DontRecurse);
HMENU CreateConfigMenu(std::vector<CONFIGMENU>& configMenuData);
HMENU CreateThemeMenu();
void CreateDefaultConfigFile(std::wstring strFile);
void TestSettingsFile(bool bDefaultIniLocation);
void CopyFiles(std::wstring strFrom, std::wstring strTo);
void CheckSkinVersions();
int CompareVersions(std::wstring strA, std::wstring strB);
CTrayWindow* m_TrayWindow;