summaryrefslogtreecommitdiff
path: root/message_notify/messagenotify.cpp
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-03-19 01:28:47 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-03-19 01:28:47 +0000
commit9c6ffd1f25e7a5b23be5fbc719e29af54d75a5b7 (patch)
tree2608eb1931d906e80790e2e22df4285dc83c8a10 /message_notify/messagenotify.cpp
parenta788cc5902dda036c81b6e0ee25b742cf62d3a1b (diff)
added GUID's
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@128 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'message_notify/messagenotify.cpp')
-rw-r--r--message_notify/messagenotify.cpp18
1 files changed, 13 insertions, 5 deletions
diff --git a/message_notify/messagenotify.cpp b/message_notify/messagenotify.cpp
index c3d5132..54d29df 100644
--- a/message_notify/messagenotify.cpp
+++ b/message_notify/messagenotify.cpp
@@ -24,17 +24,18 @@ HANDLE popupWindowList;
DWORD focusTimerId = 0;
-PLUGININFO pluginInfo={
- sizeof(PLUGININFO),
+PLUGININFOEX pluginInfo={
+ sizeof(PLUGININFOEX),
"Message Notify",
- PLUGIN_MAKE_VERSION(0,1,3,1),
+ PLUGIN_MAKE_VERSION(0,2,0,0),
"Show a popup when a message is received",
"Scott Ellis",
"mail@scottellis.com.au",
"© 2005 Scott Ellis",
"http://www.scottellis.com.au/",
0, //not transient
- 0 //doesn't replace anything built-in
+ 0, //doesn't replace anything built-in
+ { 0x715d0a1b, 0x69b7, 0x4553, { 0xa0, 0xdb, 0xae, 0x49, 0x5, 0x5c, 0x2a, 0xe6 } } // {715D0A1B-69B7-4553-A0DB-AE49055C2AE6}
};
@@ -45,11 +46,18 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvRese
return TRUE;
}
-extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
}
+static const MUUID interfaces[] = {MIID_MESSAGENOTIFY, MIID_LAST};
+extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
+{
+ return interfaces;
+}
+
+
HANDLE hWindowEvent, hEventDbEventAdded, hIdle;
BOOL bIsIdle = FALSE;