summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_services.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-06 17:09:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-06 17:09:28 +0000
commitadc684b43edcca8d5433339993621b26e4fdd2b5 (patch)
tree2b6720312eba123200346e81fb5626cf1d2c82c5 /protocols/Skype/src/skype_services.cpp
parentf94f16702b87c3c876096723f8e6ad94d63847aa (diff)
- we display SRMM button only for Skype contacts;
- service & hooks list aren't needed for a while git-svn-id: http://svn.miranda-ng.org/main/trunk@4594 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_services.cpp')
-rw-r--r--protocols/Skype/src/skype_services.cpp21
1 files changed, 1 insertions, 20 deletions
diff --git a/protocols/Skype/src/skype_services.cpp b/protocols/Skype/src/skype_services.cpp
index 4900b51b99..051051a466 100644
--- a/protocols/Skype/src/skype_services.cpp
+++ b/protocols/Skype/src/skype_services.cpp
@@ -1,19 +1,8 @@
#include "skype_proto.h"
-LIST<void> CSkypeProto::serviceList(1);
-
void CSkypeProto::InitServiceList()
{
- CSkypeProto::serviceList.insert(
- ::CreateServiceFunction("Skype/MenuChoose", CSkypeProto::MenuChooseService));
-}
-
-void CSkypeProto::UninitServiceList()
-{
- for (int i = 0; i < CSkypeProto::serviceList.getCount(); i++)
- {
- ::DestroyServiceFunction(CSkypeProto::serviceList[i]);
- }
+ ::CreateServiceFunction("Skype/MenuChoose", CSkypeProto::MenuChooseService);
}
void CSkypeProto::InitInstanceServiceList()
@@ -29,11 +18,3 @@ void CSkypeProto::InitInstanceServiceList()
this->CreateServiceObj(PS_GETMYAVATART, &CSkypeProto::GetMyAvatar);
this->CreateServiceObj(PS_SETMYAVATART, &CSkypeProto::SetMyAvatar);
}
-
-void CSkypeProto::UninitInstanceServiceList()
-{
- for (int i = 0; i < this->instanceServiceList.getCount(); i++)
- {
- ::DestroyServiceFunction(this->instanceServiceList[i]);
- }
-} \ No newline at end of file