- Fixed a problem that !RainmeterQuit isn't executed when no meter window is running.

- Fixed a problem that StyleTemplate affects to Meters which have no relation.

- Added a workaround to avoid the "IniFileMapping" function when reading skins.

- Some small code cosmetics.
This commit is contained in:
spx
2010-04-02 01:35:53 +00:00
parent a6f2f01036
commit 415c905d0a
9 changed files with 157 additions and 44 deletions

View File

@ -179,6 +179,7 @@ public:
static PLATFORM IsNT();
static std::wstring ExtractPath(const std::wstring& strFilePath);
static void ExpandEnvironmentVariables(std::wstring& strPath);
static bool CopyFiles(const std::wstring& strFrom, const std::wstring& strTo, bool bMove = false);
private:
void CreateMeterWindow(std::wstring path, std::wstring config, std::wstring iniFile);
@ -197,7 +198,6 @@ private:
HMENU CreateMonitorMenu(CMeterWindow* meterWindow);
void CreateDefaultConfigFile(std::wstring strFile);
void TestSettingsFile(bool bDefaultIniLocation);
bool CopyFiles(std::wstring strFrom, std::wstring strTo, bool bMove = false);
void CheckSkinVersions();
int CompareVersions(std::wstring strA, std::wstring strB);