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 --- updater/updater.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'updater/updater.cpp') 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) { -- cgit v1.2.3