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 --- last_contact/LastContact.cpp | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'last_contact/LastContact.cpp') diff --git a/last_contact/LastContact.cpp b/last_contact/LastContact.cpp index 6bb0fb2..6cf9e09 100644 --- a/last_contact/LastContact.cpp +++ b/last_contact/LastContact.cpp @@ -49,17 +49,18 @@ void stack_update(MessageWindowEventData *data) { windowDataStack[stackTop] = *data; } -PLUGININFO pluginInfo={ - sizeof(PLUGININFO), +PLUGININFOEX pluginInfo={ + sizeof(PLUGININFOEX), MODULE, - PLUGIN_MAKE_VERSION(0,0,0,5), + PLUGIN_MAKE_VERSION(0,0,1,0), "Re-open the last open message window using a configurable hot key.", "Scott Ellis", "mail@scottellis.com.au", "© 2006 Scott Ellis", "http://scottellis.com.au", 0, //not transient - 0 //doesn't replace anything built-in + 0, //doesn't replace anything built-in + { 0x199db5f3, 0x888d, 0x42df, { 0x96, 0x5, 0xc1, 0x79, 0xd, 0x7b, 0xba, 0xbd } } // {199DB5F3-888D-42df-9605-C1790D7BBABD} }; extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) @@ -68,11 +69,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_LASTCONTACT, MIID_LAST}; +extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) +{ + return interfaces; +} + + int WindowEvent(WPARAM wParam, LPARAM lParam) { MessageWindowEventData *wd = (MessageWindowEventData *)lParam; -- cgit v1.2.3