From d90a8589d48dff0d2091298218a62bb1867e5dca Mon Sep 17 00:00:00 2001 From: sje Date: Sun, 6 May 2007 23:45:28 +0000 Subject: added old MirandaPluginInfo function for backward compatibility git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@166 4f64403b-2f21-0410-a795-97e2b3489a10 --- last_contact/LastContact.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/last_contact/LastContact.cpp b/last_contact/LastContact.cpp index 6cf9e09..7057b7e 100644 --- a/last_contact/LastContact.cpp +++ b/last_contact/LastContact.cpp @@ -52,7 +52,7 @@ void stack_update(MessageWindowEventData *data) { PLUGININFOEX pluginInfo={ sizeof(PLUGININFOEX), MODULE, - PLUGIN_MAKE_VERSION(0,0,1,0), + PLUGIN_MAKE_VERSION(0,0,1,1), "Re-open the last open message window using a configurable hot key.", "Scott Ellis", "mail@scottellis.com.au", @@ -69,6 +69,12 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvRese return TRUE; } +extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion) +{ + pluginInfo.cbSize = sizeof(PLUGININFO); + return (PLUGININFO*)&pluginInfo; +} + extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) { return &pluginInfo; -- cgit v1.2.3