diff options
-rw-r--r-- | metacontacts/meta_main.c | 6 | ||||
-rw-r--r-- | otr/dllmain.cpp | 6 | ||||
-rw-r--r-- | otr/otr.mdsp | 2 | ||||
-rw-r--r-- | tipper/tipper.cpp | 6 | ||||
-rw-r--r-- | updater/updater.cpp | 6 | ||||
-rw-r--r-- | yapp/popups2.cpp | 6 |
6 files changed, 31 insertions, 1 deletions
diff --git a/metacontacts/meta_main.c b/metacontacts/meta_main.c index 6376e0e..4ad0b35 100644 --- a/metacontacts/meta_main.c +++ b/metacontacts/meta_main.c @@ -120,6 +120,12 @@ __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) return &pluginInfo;
}
+__declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+{
+ pluginInfo.cbSize = sizeof(PLUGININFO);
+ return (PLUGININFO*)&pluginInfo;
+}
+
static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_METACONTACTS, MIID_LAST};
__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
{
diff --git a/otr/dllmain.cpp b/otr/dllmain.cpp index 68fbf4b..8be1df2 100644 --- a/otr/dllmain.cpp +++ b/otr/dllmain.cpp @@ -60,6 +60,12 @@ extern "C" DLLIMPORT PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) { return &pluginInfo;
}
+extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+{
+ pluginInfo.cbSize = sizeof(PLUGININFO);
+ return (PLUGININFO*)&pluginInfo;
+}
+
/////////////////////////
// dodgy, INNEFFICIENT, utility function
////////////////////////
diff --git a/otr/otr.mdsp b/otr/otr.mdsp index dc3fb96..2076694 100644 --- a/otr/otr.mdsp +++ b/otr/otr.mdsp @@ -102,4 +102,4 @@ extraResourceOptions= utils.cpp,6882
common.h,2043
otr_private.h,149
-dllmain.cpp,1358
+dllmain.cpp,1741
diff --git a/tipper/tipper.cpp b/tipper/tipper.cpp index 9ad87bc..b7268b7 100644 --- a/tipper/tipper.cpp +++ b/tipper/tipper.cpp @@ -61,6 +61,12 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfo;
}
+extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+{
+ pluginInfo.cbSize = sizeof(PLUGININFO);
+ return (PLUGININFO*)&pluginInfo;
+}
+
static const MUUID interfaces[] = {MIID_TOOLTIPS, MIID_LAST};
extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
{
diff --git a/updater/updater.cpp b/updater/updater.cpp index b5ced02..fa1c0c0 100644 --- a/updater/updater.cpp +++ b/updater/updater.cpp @@ -47,6 +47,12 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfo;
}
+extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+{
+ pluginInfo.cbSize = sizeof(PLUGININFO);
+ return (PLUGININFO*)&pluginInfo;
+}
+
static const MUUID interfaces[] = {MIID_UPDATER, MIID_LAST};
extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
{
diff --git a/yapp/popups2.cpp b/yapp/popups2.cpp index 66bbc13..1597bbc 100644 --- a/yapp/popups2.cpp +++ b/yapp/popups2.cpp @@ -65,6 +65,12 @@ extern "C" POPUPS2_API PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) return &pluginInfo;
}
+extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+{
+ pluginInfo.cbSize = sizeof(PLUGININFO);
+ return (PLUGININFO*)&pluginInfo;
+}
+
static const MUUID interfaces[] = {MIID_POPUPS, MIID_LAST};
extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
{
|