diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-04-10 08:03:40 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-04-10 08:03:40 +0000 |
commit | a7e15910e804e742777b7bb54c83c15a22f342fc (patch) | |
tree | cc96a0fdd893a7d12e7015c4fbde25a4799cc1ac /protocols/Steam/src/steam_proto.cpp | |
parent | 69a49660c02bfdbc306e1b22085f8457d680a36a (diff) |
Steam:
- own profile updating
- avatar support
git-svn-id: http://svn.miranda-ng.org/main/trunk@8911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_proto.cpp')
-rw-r--r-- | protocols/Steam/src/steam_proto.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index 1a7f7f2b7b..94e592e2fb 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -29,6 +29,12 @@ CSteamProto::CSteamProto(const char* protoName, const TCHAR* userName) : Skin_AddIcon(&sid);
SetAllContactsStatus(ID_STATUS_OFFLINE);
+
+ // Avatar API
+ this->CreateProtoService(PS_GETAVATARINFOT, &CSteamProto::GetAvatarInfo);
+ this->CreateProtoService(PS_GETAVATARCAPS, &CSteamProto::GetAvatarCaps);
+ this->CreateProtoService(PS_GETMYAVATART, &CSteamProto::GetMyAvatar);
+ //this->CreateProtoService(PS_SETMYAVATART, &CSteamProto::SetMyAvatar);
}
CSteamProto::~CSteamProto()
@@ -98,6 +104,8 @@ DWORD_PTR __cdecl CSteamProto:: GetCaps(int type, MCONTACT hContact) return PF1_IM | PF1_BASICSEARCH | PF1_SEARCHBYNAME;
case PFLAGNUM_2:
return PF2_ONLINE;
+ case PFLAGNUM_4:
+ return PF4_AVATARS;
case PFLAG_UNIQUEIDTEXT:
return (DWORD_PTR)Translate("SteamID");
case PFLAG_UNIQUEIDSETTING:
|