diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ChangeKeyboardLayout/main.c | 7 | ||||
-rw-r--r-- | plugins/CyrTranslit/main.cpp | 6 | ||||
-rw-r--r-- | plugins/JSON/miminterface.cpp | 5 | ||||
-rw-r--r-- | plugins/KeyboardNotify/main.cpp | 10 | ||||
-rw-r--r-- | plugins/TopToolBar/main.cpp | 9 |
5 files changed, 2 insertions, 35 deletions
diff --git a/plugins/ChangeKeyboardLayout/main.c b/plugins/ChangeKeyboardLayout/main.c index 1cd793f4f7..188813111c 100644 --- a/plugins/ChangeKeyboardLayout/main.c +++ b/plugins/ChangeKeyboardLayout/main.c @@ -40,13 +40,6 @@ __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) return &pluginInfoEx;
}
-static const MUUID interfaces[] = {{0xc5ef53a8, 0x80d4, 0x4ce9, { 0xb3, 0x41, 0xec, 0x90, 0xd3, 0xec, 0x91, 0x56 }}, MIID_LAST};
-
-__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
-
int __declspec(dllexport) Load(PLUGINLINK *link)
{
diff --git a/plugins/CyrTranslit/main.cpp b/plugins/CyrTranslit/main.cpp index 4d07deb714..88e0aa31a9 100644 --- a/plugins/CyrTranslit/main.cpp +++ b/plugins/CyrTranslit/main.cpp @@ -55,12 +55,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfoEx;
}
-static const MUUID interfaces[] = {MIID_V_CYRTRANSLIT, MIID_LAST};
-
-extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
//------------------------------------------------------------------------------
diff --git a/plugins/JSON/miminterface.cpp b/plugins/JSON/miminterface.cpp index 51260d3901..8b16cbdb81 100644 --- a/plugins/JSON/miminterface.cpp +++ b/plugins/JSON/miminterface.cpp @@ -11,8 +11,6 @@ MM_INTERFACE mmi;
PLUGINLINK* pluginLink; // Struct of functions pointers for service calls
-static const MUUID interfaces[] = {MIID_LIBJSON,MIID_LAST};
-
static HANDLE s_services[53];
PLUGININFOEX pluginInfo={
@@ -40,9 +38,6 @@ extern "C" { return &pluginInfo;
}
- __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) {
- return interfaces;
- }
__declspec(dllexport) int Unload(void) {
for (HANDLE* service=s_services; *service; service++) {
diff --git a/plugins/KeyboardNotify/main.cpp b/plugins/KeyboardNotify/main.cpp index 66ee22dcf9..2280d08c8f 100644 --- a/plugins/KeyboardNotify/main.cpp +++ b/plugins/KeyboardNotify/main.cpp @@ -305,6 +305,7 @@ BOOL bReminderDisabled = FALSE; char *szMetaProto = NULL;
BYTE bMetaProtoEnabled = 0;
+#define MIID_KBDNOTIFY {0x119d7288, 0x2050, 0x448d, { 0x99, 0x00, 0xd8, 0x6a, 0xc7, 0x04, 0x26, 0xbf }}
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
@@ -317,7 +318,7 @@ PLUGININFOEX pluginInfo={ "http://addons.miranda-im.org/",
UNICODE_AWARE,
0, //doesn't replace anything built-in
- {0x119d7288, 0x2050, 0x448d, { 0x99, 0x00, 0xd8, 0x6a, 0xc7, 0x04, 0x26, 0xbf }} //{119D7288-2050-448d-9900-D86AC70426BF}
+ MIID_KBDNOTIFY //{119D7288-2050-448d-9900-D86AC70426BF}
};
@@ -1139,13 +1140,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfo;
}
-#define MIID_KBDNOTIFY {0x119d7288, 0x2050, 0x448d, { 0x99, 0x00, 0xd8, 0x6a, 0xc7, 0x04, 0x26, 0xbf }}
-static const MUUID interfaces[] = {MIID_KBDNOTIFY, MIID_LAST};
-extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
-
extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
{
pluginLink = link;
diff --git a/plugins/TopToolBar/main.cpp b/plugins/TopToolBar/main.cpp index 38f1805379..7fd001a4fb 100644 --- a/plugins/TopToolBar/main.cpp +++ b/plugins/TopToolBar/main.cpp @@ -22,15 +22,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) /////////////////////////////////////////////////////////////////////////////////////////
-static const MUUID interfaces[] = {MIID_TTB, MIID_LAST};
-
-extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
-{
- return interfaces;
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
PLUGININFOEX pluginInfo =
{
sizeof(PLUGININFOEX),
|