summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_services.cpp
blob: 9c5a4d034b6dcf214081ff0e7d18ddd6130dfccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "skype_proto.h"

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();
}