diff options
Diffstat (limited to 'plugins/HistoryStats/src/mu_common.cpp')
-rw-r--r-- | plugins/HistoryStats/src/mu_common.cpp | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/plugins/HistoryStats/src/mu_common.cpp b/plugins/HistoryStats/src/mu_common.cpp index 9737381a2f..62c9e21bb0 100644 --- a/plugins/HistoryStats/src/mu_common.cpp +++ b/plugins/HistoryStats/src/mu_common.cpp @@ -110,35 +110,13 @@ namespace mu }
/*
- * system
- */
-
- namespace system
- {
- DWORD getVersion()
- {
- return static_cast<DWORD>(CallService(MS_SYSTEM_GETVERSION, 0, 0));
- }
-
- int getVersionText(int cchVersion, char* szVersion)
- {
- return CallService(MS_SYSTEM_GETVERSIONTEXT, cchVersion, reinterpret_cast<LPARAM>(szVersion));
- }
-
- int terminated()
- {
- return CallService(MS_SYSTEM_TERMINATED, 0, 0);
- }
- }
-
- /*
* core interface functions
*/
bool load()
{
// check for version
- if (!isMirandaVersionOk(system::getVersion()))
+ if (!isMirandaVersionOk(Miranda_GetVersion()))
return false;
return true;
@@ -160,17 +138,6 @@ namespace mu bool isMirandaUnicode()
{
- if (system::getVersion() < PLUGIN_MAKE_VERSION(0, 4, 3, 33))
- return false;
-
- char szVersion[256] = { 0 };
-
- if (system::getVersionText(256, szVersion) != 0)
- return false;
-
- if (!strstr(szVersion, "Unicode"))
- return false;
-
return true;
}
|