From 44d0c3c1ac3d238386d48b10249fa0480aa54e2a Mon Sep 17 00:00:00 2001 From: sje Date: Mon, 19 Mar 2007 13:02:11 +0000 Subject: added old-style MirandaPluginInfo function for back-compatibility with pre 0.7 cores git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@138 4f64403b-2f21-0410-a795-97e2b3489a10 --- yapp/popups2.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'yapp/popups2.cpp') 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) { -- cgit v1.2.3