From 7941d6d1a2ba1fac7abf817149360d73ed79c799 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 21 Jun 2014 17:46:15 +0000 Subject: Steam: first approach to block list support git-svn-id: http://svn.miranda-ng.org/main/trunk@9546 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_proto.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'protocols/Steam/src/steam_proto.h') diff --git a/protocols/Steam/src/steam_proto.h b/protocols/Steam/src/steam_proto.h index ca66962572..5e307965e8 100644 --- a/protocols/Steam/src/steam_proto.h +++ b/protocols/Steam/src/steam_proto.h @@ -42,6 +42,7 @@ enum //CMI_AUTH_REVOKE, CMI_BLOCK, CMI_JOIN_GAME, + SMI_BLOCKED_LIST, CMI_MAX // this item shall be the last one }; @@ -199,6 +200,7 @@ protected: MCONTACT AddContact(const char *steamId, bool isTemporary = false); void OnGotFriendList(const NETLIBHTTPREQUEST *response, void *arg); + void OnGotBlockList(const NETLIBHTTPREQUEST *response, void *arg); void OnGotUserSummaries(const NETLIBHTTPREQUEST *response, void *arg); void OnGotAvatar(const NETLIBHTTPREQUEST *response, void *arg); @@ -228,11 +230,15 @@ protected: int __cdecl BlockCommand(WPARAM, LPARAM); int __cdecl JoinToGameCommand(WPARAM, LPARAM); + int __cdecl OpenBlockListCommand(WPARAM, LPARAM); + static INT_PTR MenuChooseService(WPARAM wParam, LPARAM lParam); static int PrebuildContactMenu(WPARAM wParam, LPARAM lParam); int OnPrebuildContactMenu(WPARAM wParam, LPARAM); + void OnInitStatusMenu(); + // avatars wchar_t * GetAvatarFilePath(MCONTACT hContact); -- cgit v1.2.3