From bb952e431866d131bae95c08e579ec8a00f00343 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 8 Jul 2013 22:10:14 +0000 Subject: core protocol helpers for creating protocol evengs, services & threads git-svn-id: http://svn.miranda-ng.org/main/trunk@5286 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_services.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'protocols/Skype/src/skype_services.cpp') diff --git a/protocols/Skype/src/skype_services.cpp b/protocols/Skype/src/skype_services.cpp index 01e598727e..e6bdf123c0 100644 --- a/protocols/Skype/src/skype_services.cpp +++ b/protocols/Skype/src/skype_services.cpp @@ -9,17 +9,17 @@ void CSkypeProto::InitServiceList() void CSkypeProto::InitInstanceServiceList() { // Message API - this->CreateServiceObj(PS_CREATEACCMGRUI, &CSkypeProto::OnAccountManagerInit); + this->CreateService(PS_CREATEACCMGRUI, &CSkypeProto::OnAccountManagerInit); // Chat API - this->CreateServiceObj(PS_JOINCHAT, &CSkypeProto::OnJoinChat); - this->CreateServiceObj(PS_LEAVECHAT, &CSkypeProto::OnLeaveChat); + this->CreateService(PS_JOINCHAT, &CSkypeProto::OnJoinChat); + this->CreateService(PS_LEAVECHAT, &CSkypeProto::OnLeaveChat); // Own info - this->CreateServiceObj(PS_SETMYNICKNAME, &CSkypeProto::SetMyNickName); + this->CreateService(PS_SETMYNICKNAME, &CSkypeProto::SetMyNickName); // 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); + this->CreateService(PS_GETAVATARINFOT, &CSkypeProto::GetAvatarInfo); + this->CreateService(PS_GETAVATARCAPS, &CSkypeProto::GetAvatarCaps); + this->CreateService(PS_GETMYAVATART, &CSkypeProto::GetMyAvatar); + this->CreateService(PS_SETMYAVATART, &CSkypeProto::SetMyAvatar); // service to get from protocol chat buddy info - this->CreateServiceObj(MS_GC_PROTO_GETTOOLTIPTEXT, &CSkypeProto::SkypeGCGetToolTipText); + this->CreateService(MS_GC_PROTO_GETTOOLTIPTEXT, &CSkypeProto::SkypeGCGetToolTipText); } -- cgit v1.2.3