summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-06-21 17:46:15 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-06-21 17:46:15 +0000
commit7941d6d1a2ba1fac7abf817149360d73ed79c799 (patch)
treed336c78e18e291ea4e5c755ddf9a5f65fa163a80 /protocols/Steam/src/steam_proto.h
parent13ec12177636fb42c9692664d0f48bd3be2a7fc0 (diff)
Steam: first approach to block list support
git-svn-id: http://svn.miranda-ng.org/main/trunk@9546 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_proto.h')
-rw-r--r--protocols/Steam/src/steam_proto.h6
1 files changed, 6 insertions, 0 deletions
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);