diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-03-19 13:02:11 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-03-19 13:02:11 +0000 |
commit | 44d0c3c1ac3d238386d48b10249fa0480aa54e2a (patch) | |
tree | 74d535813c7afe73fd20d23b660b196e9bc867d8 /yapp/popups2.cpp | |
parent | 0a2ecd2736cf4ba2d1b6e7050b531239b385bce0 (diff) |
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
Diffstat (limited to 'yapp/popups2.cpp')
-rw-r--r-- | yapp/popups2.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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)
{
|