From bd1739ee0ce7af9d5849b8902de4be82432eea54 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 8 Feb 2013 20:43:35 +0000 Subject: removed not needed interfaces git-svn-id: http://svn.miranda-ng.org/main/trunk@3486 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ContactsPlus/src/main.cpp | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) (limited to 'plugins/ContactsPlus/src/main.cpp') diff --git a/plugins/ContactsPlus/src/main.cpp b/plugins/ContactsPlus/src/main.cpp index 0db72163fd..c90ca712f0 100644 --- a/plugins/ContactsPlus/src/main.cpp +++ b/plugins/ContactsPlus/src/main.cpp @@ -48,19 +48,19 @@ HANDLE hContactMenuItem = NULL; int g_UnicodeCore; PLUGININFOEX pluginInfo = { - sizeof(PLUGININFOEX), - "Send/Receive Contacts+", - PLUGIN_MAKE_VERSION(1,5,2,0), - "Allows you to send and receive contacts.", - "Joe Kucera, Todor Totev", - "jokusoftware@miranda-im.org", - "(C) 2004-2008 Joe Kucera, Original Code (C) 2002 Dominus Procellarum", - "http://miranda-ng.org/", - UNICODE_AWARE, - {0x0324785E, 0x74CE, 0x4600, {0xB7, 0x81, 0x85, 0x17, 0x73, 0xB3, 0xEF, 0xC5 } } // {0324785E-74CE-4600-B781-851773B3EFC5} + sizeof(PLUGININFOEX), + "Send/Receive Contacts+", + PLUGIN_MAKE_VERSION(1,5,2,0), + "Allows you to send and receive contacts.", + "Joe Kucera, Todor Totev", + "jokusoftware@miranda-im.org", + "(C) 2004-2008 Joe Kucera, Original Code (C) 2002 Dominus Procellarum", + "http://miranda-ng.org/", + UNICODE_AWARE, + // {0324785E-74CE-4600-B781-851773B3EFC5} + {0x0324785E, 0x74CE, 0x4600, {0xB7, 0x81, 0x85, 0x17, 0x73, 0xB3, 0xEF, 0xC5}} }; - static int HookDBEventAdded(WPARAM wParam, LPARAM lParam) { HANDLE hContact = (HANDLE)wParam; @@ -101,7 +101,6 @@ static int HookDBEventAdded(WPARAM wParam, LPARAM lParam) return 0; //continue processing by other hooks } - static void ProcessUnreadEvents(void) { DBEVENTINFO dbei = {0}; @@ -127,7 +126,6 @@ static void ProcessUnreadEvents(void) } } - static bool CheckContactsServiceSupport(const char* szProto) { // there is no way to determine if the service exists (only proto_interface call is supported by 0.8+) @@ -137,7 +135,6 @@ static bool CheckContactsServiceSupport(const char* szProto) return false; } - static int HookPreBuildContactMenu(WPARAM wParam, LPARAM lParam) { HANDLE hContact = (HANDLE)wParam; @@ -162,7 +159,6 @@ static int HookPreBuildContactMenu(WPARAM wParam, LPARAM lParam) return 0; } - static int HookModulesLoaded(WPARAM wParam, LPARAM lParam) { char* modules[2] = {0}; @@ -190,7 +186,6 @@ static int HookModulesLoaded(WPARAM wParam, LPARAM lParam) return 0; } - static int HookContactSettingChanged(WPARAM wParam, LPARAM lParam) { DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING*)lParam; @@ -204,7 +199,6 @@ static int HookContactSettingChanged(WPARAM wParam, LPARAM lParam) return 0; } - static int HookContactDeleted(WPARAM wParam, LPARAM lParam) { // if our contact gets deleted close his window HWND h = WindowList_Find(ghSendWindowList,(HANDLE)wParam); @@ -221,7 +215,6 @@ static int HookContactDeleted(WPARAM wParam, LPARAM lParam) return 0; } - static INT_PTR ServiceSendCommand(WPARAM wParam, LPARAM lParam) { HWND hWnd; @@ -252,8 +245,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda return &pluginInfo; } -extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_SRCONTACTS, MIID_LAST}; - extern "C" __declspec(dllexport) int Load(void) { mir_getLP(&pluginInfo); -- cgit v1.2.3