diff options
Diffstat (limited to 'protocols/Skype/src/skype_services.cpp')
-rw-r--r-- | protocols/Skype/src/skype_services.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_services.cpp b/protocols/Skype/src/skype_services.cpp index 04e9b43c3e..9c5a4d034b 100644 --- a/protocols/Skype/src/skype_services.cpp +++ b/protocols/Skype/src/skype_services.cpp @@ -1,11 +1,18 @@ #include "skype_proto.h"
-LIST<HANDLE> CSkypeProto::serviceList(0);
+LIST<void> CSkypeProto::serviceList(0);
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]);
+ }
+ CSkypeProto::serviceList.destroy();
}
|