From 8e85daa7e7e5544f37517af771a49bde018dcb2f Mon Sep 17 00:00:00 2001 From: sje Date: Mon, 19 Mar 2007 13:03:31 +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@139 4f64403b-2f21-0410-a795-97e2b3489a10 --- attache/MiniDump.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'attache/MiniDump.cpp') diff --git a/attache/MiniDump.cpp b/attache/MiniDump.cpp index cae9993..03cc3ce 100644 --- a/attache/MiniDump.cpp +++ b/attache/MiniDump.cpp @@ -43,6 +43,12 @@ extern "C" MINIDUMP_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_ATTACHE, MIID_LAST}; extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) { -- cgit v1.2.3