From ab657c3262c6e077ddbe1010b2a39fd76a8c43e3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 3 Aug 2014 10:02:01 +0000 Subject: unused code cleaned git-svn-id: http://svn.miranda-ng.org/main/trunk@10045 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_services.cpp | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'src') diff --git a/src/modules/metacontacts/meta_services.cpp b/src/modules/metacontacts/meta_services.cpp index bda82357de..13bb6fcec5 100644 --- a/src/modules/metacontacts/meta_services.cpp +++ b/src/modules/metacontacts/meta_services.cpp @@ -619,11 +619,6 @@ static int Meta_SrmmIconClicked(WPARAM hMeta, LPARAM lParam) return 0; } -int NudgeRecieved(WPARAM wParam, LPARAM lParam) -{ - return 0; -} - /** Called when all the plugin are loaded into Miranda. * * Initializes the 4 menus present in the context-menu @@ -637,7 +632,7 @@ int Meta_ModulesLoaded(WPARAM wParam, LPARAM lParam) HookEvent(ME_MSG_WINDOWEVENT, Meta_MessageWindowEvent); HookEvent(ME_MSG_ICONPRESSED, Meta_SrmmIconClicked); - ////////////////////////////////////////////////////////////////////////////////////// + // create menu items InitMenus(); // create srmm icon @@ -645,19 +640,6 @@ int Meta_ModulesLoaded(WPARAM wParam, LPARAM lParam) sid.szModule = META_PROTO; sid.hIcon = LoadSkinnedProtoIcon(META_PROTO, ID_STATUS_ONLINE); Srmm_AddIcon(&sid); - - // hook protocol nudge events to forward to subcontacts - int numberOfProtocols; - PROTOACCOUNT ** ppProtocolDescriptors; - ProtoEnumAccounts(&numberOfProtocols, &ppProtocolDescriptors); - - for (int i = 0; i < numberOfProtocols; i++) - if (strcmp(ppProtocolDescriptors[i]->szModuleName, META_PROTO)) { - char str[MAXMODULELABELLENGTH + 10]; - mir_snprintf(str, SIZEOF(str), "%s/Nudge", ppProtocolDescriptors[i]->szModuleName); - HookEvent(str, NudgeRecieved); - } - return 0; } -- cgit v1.2.3