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

void CSkypeProto::InitServiceList()
{
	::CreateServiceFunction("Skype/MenuChoose", CSkypeProto::MenuChooseService);
}

void CSkypeProto::InitInstanceServiceList()
{
	// Message API
	this->CreateServiceObj(PS_CREATEACCMGRUI, &CSkypeProto::OnAccountManagerInit);
	// Chat API
	this->CreateServiceObj(PS_JOINCHAT, &CSkypeProto::OnJoinChat);
	this->CreateServiceObj(PS_LEAVECHAT, &CSkypeProto::OnLeaveChat);
	// Avatar API
	this->CreateServiceObj(PS_GETAVATARINFOT, &CSkypeProto::GetAvatarInfo);
	this->CreateServiceObj(PS_GETAVATARCAPS, &CSkypeProto::GetAvatarCaps);
	this->CreateServiceObj(PS_GETMYAVATART, &CSkypeProto::GetMyAvatar);
	this->CreateServiceObj(PS_SETMYAVATART, &CSkypeProto::SetMyAvatar);
}