summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_services.cpp
diff options
context:
space:
mode:
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