From 521491c9ae96e5f6eaed764d0cdd8bba465830ba Mon Sep 17 00:00:00 2001 From: sje Date: Tue, 8 May 2007 15:09:21 +0000 Subject: added old MirandaPluginInfo function git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@168 4f64403b-2f21-0410-a795-97e2b3489a10 --- message_notify/messagenotify.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'message_notify/messagenotify.cpp') diff --git a/message_notify/messagenotify.cpp b/message_notify/messagenotify.cpp index 0b26b84..f5de3e3 100644 --- a/message_notify/messagenotify.cpp +++ b/message_notify/messagenotify.cpp @@ -27,7 +27,7 @@ DWORD focusTimerId = 0; PLUGININFOEX pluginInfo={ sizeof(PLUGININFOEX), "Message Notify", - PLUGIN_MAKE_VERSION(0,2,0,0), + PLUGIN_MAKE_VERSION(0,2,0,1), "Show a popup when a message is received", "Scott Ellis", "mail@scottellis.com.au", @@ -46,6 +46,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