diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-10-30 07:58:54 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-10-30 07:58:54 +0000 |
commit | 4516a6cdd712c510adba4b40f8b85db9ccf1a537 (patch) | |
tree | 807c8e4c2bac79f63b4e21f339f98dacc44a76c4 | |
parent | 2a839a4fff225165b25b12a04eddfa07d825a85f (diff) |
MirandaInterfaces fixes - also make SAR working correctly
git-svn-id: http://svn.miranda-ng.org/main/trunk@6696 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Exchange/src/exchange.cpp | 7 | ||||
-rw-r--r-- | plugins/SmartAutoReplier/SAR.cpp | 2 | ||||
-rw-r--r-- | plugins/mDynDNS/mDynDNS.cpp | 8 | ||||
-rw-r--r-- | plugins/rps/rps.cpp | 7 |
4 files changed, 4 insertions, 20 deletions
diff --git a/plugins/Exchange/src/exchange.cpp b/plugins/Exchange/src/exchange.cpp index 6d789db56f..ef36caeb6d 100644 --- a/plugins/Exchange/src/exchange.cpp +++ b/plugins/Exchange/src/exchange.cpp @@ -52,12 +52,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD miranda return &pluginInfo;
}
-static const MUUID interfaces[] = {MIID_EXCHANGE, MIID_LAST};
-
-extern "C" __declspec(dllexport) const MUUID *MirandaPluginInterfaces()
-{
- return interfaces;
-}
+extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_EXCHANGE, MIID_LAST};
extern "C" int __declspec(dllexport) Load()
{
diff --git a/plugins/SmartAutoReplier/SAR.cpp b/plugins/SmartAutoReplier/SAR.cpp index 3bd5a6edf5..06744f8e67 100644 --- a/plugins/SmartAutoReplier/SAR.cpp +++ b/plugins/SmartAutoReplier/SAR.cpp @@ -93,8 +93,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfo;
}
-extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_CHAT, MIID_SRMM, MIID_LAST};
-
/// handler of event when the options are choosed
static int OptionsInitialized(WPARAM wp, LPARAM lp)
{
diff --git a/plugins/mDynDNS/mDynDNS.cpp b/plugins/mDynDNS/mDynDNS.cpp index bf355a114a..8553770552 100644 --- a/plugins/mDynDNS/mDynDNS.cpp +++ b/plugins/mDynDNS/mDynDNS.cpp @@ -64,11 +64,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfo;
}
-static const MUUID interfaces[] = { MIID_MDYNDNS, MIID_LAST };
-extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
+extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_MDYNDNS, MIID_LAST };
/** Initializes the services provided and the link to those needed
* Called when the plugin is loaded into Miranda
@@ -550,7 +546,7 @@ static int PrintError(int err_num) err = "There was a serious problem with updating domain alias to it's previous IP. In order not to get abuse the mDynDns plugin will stop working. To get additional information please refer to the readme.txt.";
break;
case 12:
- err = "The specified hostname has been blocked becouce of update abuse. In order not to get situation worse the mDynDns plugin will stop working. To get additional information please refer to the readme.txt.";
+ err = "The specified hostname has been blocked because of update abuse. In order not to get situation worse the mDynDns plugin will stop working. To get additional information please refer to the readme.txt.";
break;
case 13:
err = "Due to some errors mDynDNS plugin has been turned off to prevent blocking on server.";
diff --git a/plugins/rps/rps.cpp b/plugins/rps/rps.cpp index 1d0f801e41..33d51a3c40 100644 --- a/plugins/rps/rps.cpp +++ b/plugins/rps/rps.cpp @@ -105,12 +105,7 @@ __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) }
-static const MUUID interfaces[] = { MIID_REMOVEPERSONALSETTINGS, MIID_LAST };
-__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
-
+extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_REMOVEPERSONALSETTINGS, MIID_LAST };
int __declspec(dllexport) Load()
{
|