diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-03-19 01:28:47 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-03-19 01:28:47 +0000 |
commit | 9c6ffd1f25e7a5b23be5fbc719e29af54d75a5b7 (patch) | |
tree | 2608eb1931d906e80790e2e22df4285dc83c8a10 /message_notify | |
parent | a788cc5902dda036c81b6e0ee25b742cf62d3a1b (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')
-rw-r--r-- | message_notify/common.h | 3 | ||||
-rw-r--r-- | message_notify/messagenotify.cpp | 18 |
2 files changed, 16 insertions, 5 deletions
diff --git a/message_notify/common.h b/message_notify/common.h index 1accfe7..d21adf4 100644 --- a/message_notify/common.h +++ b/message_notify/common.h @@ -40,6 +40,9 @@ extern HANDLE popupWindowList; void StartFocusTimer();
void StopFocusTimer();
+#ifndef MIID_MESSAGENOTIFY
+#define MIID_MESSAGENOTIFY {0x9b2eb930, 0xbcff, 0x4cbf, { 0x8f, 0x2d, 0xf7, 0xca, 0x8b, 0x8f, 0x17, 0xfd}}
+#endif
//#endif
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;
|