diff options
-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()
{
|