diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-06-30 18:38:28 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-06-30 18:38:28 +0000 |
commit | d262ec92c8c0a5a91c52f91921776c9d3982881a (patch) | |
tree | e983e631bcb29062d3541a0a3c04f81eb89d3e37 /plugins/VersionInfo/src/CVersionInfo.cpp | |
parent | 00e955153e8716fa37b02304770fdd69b74d0e92 (diff) |
preparing weather ini information for VI report
git-svn-id: http://svn.miranda-ng.org/main/trunk@5196 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/VersionInfo/src/CVersionInfo.cpp')
-rw-r--r-- | plugins/VersionInfo/src/CVersionInfo.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/VersionInfo/src/CVersionInfo.cpp b/plugins/VersionInfo/src/CVersionInfo.cpp index bc84d46001..a58bc5bb72 100644 --- a/plugins/VersionInfo/src/CVersionInfo.cpp +++ b/plugins/VersionInfo/src/CVersionInfo.cpp @@ -707,7 +707,7 @@ bool CVersionInfo::GetPluginLists() DWORD loadError;
// SYSTEMTIME sysTime; //for timestamp
- //bWeatherPlugin = false;
+ bWeatherPlugin = false;
mirandaVersion = (DWORD)CallService(MS_SYSTEM_GETVERSION, 0, 0);
{
GetModuleFileName(GetModuleHandle(NULL), szMirandaPath, SIZEOF(szMirandaPath));
@@ -732,8 +732,8 @@ bool CVersionInfo::GetPluginLists() if (!ValidExtension(fd.cFileName, _T("dll")))
continue; //do not report plugins that do not have extension .dll
- //if (_tcsicmp(fd.cFileName, _T("weather.dll")) == 0)
- //bWeatherPlugin = true;
+ if (_tcsicmp(fd.cFileName, _T("weather.dll")) == 0)
+ bWeatherPlugin = true;
hInstPlugin = GetModuleHandle(fd.cFileName); //try to get the handle of the module
@@ -1153,7 +1153,9 @@ std::tstring CVersionInfo::GetInformationsAsString(int bDisableForumStyle) { out.append(GetListAsString(listUnloadablePlugins, flags, beautify));
BeautifyReport(beautify, normalPluginsEnd, _T(""), out);
}
- //if (bWeatherPlugin)
+ if (bWeatherPlugin) {
+ out.append(_T("\r\nWeather ini files:\r\n-------------------------------------------------------------------------------\r\n"));
+ }
AddInfoFooter(suppressHeader, forumStyle, beautify, out);
return out;
|