summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-05-08 15:09:21 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-05-08 15:09:21 +0000
commit521491c9ae96e5f6eaed764d0cdd8bba465830ba (patch)
tree54d981d72b2cfb82ad60dc277e9f552cac27b27a
parent8cd5b6ca7507b4d7ed327fd228ffcba992606c21 (diff)
added old MirandaPluginInfo function
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@168 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r--message_notify/messagenotify.cpp8
1 files changed, 7 insertions, 1 deletions
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;