Modified the behavior when the log file was deleted manually.

This commit is contained in:
spx
2010-07-08 10:59:06 +00:00
parent 05c14bfa26
commit d07e8665b0
4 changed files with 114 additions and 73 deletions

View File

@ -163,8 +163,11 @@ public:
void SetDisableVersionCheck(BOOL check) { m_DisableVersionCheck = check; };
void SetNewVersion(BOOL NewVer) { m_NewVersion = NewVer; };
void SetLogging(bool logging);
bool GetLogging() { return m_Logging; }
void StartLogging();
void StopLogging();
void DeleteLogFile();
void SetDebug(bool debug);
void ShowContextMenu(POINT pos, CMeterWindow* meterWindow);
@ -205,6 +208,7 @@ private:
HMENU CreateThemeMenu();
void CreateMonitorMenu(HMENU monitorMenu, CMeterWindow* meterWindow);
void CreateDefaultConfigFile(std::wstring strFile);
void SetLogging(bool logging);
void TestSettingsFile(bool bDefaultIniLocation);
void CheckSkinVersions();
int CompareVersions(std::wstring strA, std::wstring strB);