diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-08 11:17:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-08 11:17:06 +0000 |
commit | 39b98d62430ee2a762db94822c2da05b2065d021 (patch) | |
tree | 9a9e551d19fe9beae45ec1edadd6d8fec023efe9 /plugins/SecureIM/src/svcs_menu.cpp | |
parent | 607e8d87185d4388f3bc8a9797075eb99e472ee1 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1812 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/svcs_menu.cpp')
-rw-r--r-- | plugins/SecureIM/src/svcs_menu.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/SecureIM/src/svcs_menu.cpp b/plugins/SecureIM/src/svcs_menu.cpp index 310d367e1b..d2d06c09fc 100644 --- a/plugins/SecureIM/src/svcs_menu.cpp +++ b/plugins/SecureIM/src/svcs_menu.cpp @@ -8,26 +8,12 @@ INT_PTR __cdecl Service_IsContactSecured(WPARAM wParam, LPARAM lParam) { INT_PTR __cdecl Service_CreateIM(WPARAM wParam,LPARAM lParam){
- if (!CallService(MS_PROTO_ISPROTOONCONTACT, (WPARAM)wParam, (LPARAM)szModuleName))
- CallService(MS_PROTO_ADDTOCONTACT, (WPARAM)wParam, (LPARAM)szModuleName);
-// WPARAM flags = 0;
-// HANDLE hMetaContact = getMetaContact((HANDLE)wParam);
-// if ( hMetaContact ) {
-// wParam = (WPARAM)hMetaContact;
-// flags = PREF_METANODB;
-// }
CallContactService((HANDLE)wParam,PSS_MESSAGE,(WPARAM)PREF_METANODB,(LPARAM)SIG_INIT);
return 1;
}
INT_PTR __cdecl Service_DisableIM(WPARAM wParam,LPARAM lParam) {
-// WPARAM flags = 0;
-// HANDLE hMetaContact = getMetaContact((HANDLE)wParam);
-// if ( hMetaContact ) {
-// wParam = (WPARAM)hMetaContact;
-// flags = PREF_METANODB;
-// }
CallContactService((HANDLE)wParam,PSS_MESSAGE,(WPARAM)PREF_METANODB,(LPARAM)SIG_DEIN);
return 1;
}
|