diff options
author | George Hazan <george.hazan@gmail.com> | 2014-08-03 10:02:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-08-03 10:02:01 +0000 |
commit | ab657c3262c6e077ddbe1010b2a39fd76a8c43e3 (patch) | |
tree | 66a5f4a0a82b8c452299ff2d0fcea6556b10b24a /src/modules/metacontacts/meta_services.cpp | |
parent | 7789cd497234df73cb69cd32e6a053aaef58fe24 (diff) |
unused code cleaned
git-svn-id: http://svn.miranda-ng.org/main/trunk@10045 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_services.cpp')
-rw-r--r-- | src/modules/metacontacts/meta_services.cpp | 20 |
1 files changed, 1 insertions, 19 deletions
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;
}
|