From 9c6ffd1f25e7a5b23be5fbc719e29af54d75a5b7 Mon Sep 17 00:00:00 2001 From: sje Date: Mon, 19 Mar 2007 01:28:47 +0000 Subject: added GUID's git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@128 4f64403b-2f21-0410-a795-97e2b3489a10 --- message_notify/messagenotify.cpp | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'message_notify/messagenotify.cpp') 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; -- cgit v1.2.3