From 13ec12177636fb42c9692664d0f48bd3be2a7fc0 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 21 Jun 2014 17:25:31 +0000 Subject: Steam: added block command to contact menu git-svn-id: http://svn.miranda-ng.org/main/trunk@9545 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_proto.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 7ddaf48786..ca66962572 100644 --- a/protocols/Steam/src/steam_proto.h +++ b/protocols/Steam/src/steam_proto.h @@ -40,7 +40,7 @@ enum CMI_AUTH_REQUEST, //CMI_AUTH_GRANT, //CMI_AUTH_REVOKE, - //CMI_BLOCK, + CMI_BLOCK, CMI_JOIN_GAME, CMI_MAX // this item shall be the last one }; @@ -203,6 +203,7 @@ protected: void OnGotAvatar(const NETLIBHTTPREQUEST *response, void *arg); void OnFriendAdded(const NETLIBHTTPREQUEST *response, void *arg); + void OnFriendBlocked(const NETLIBHTTPREQUEST *response, void *arg); void OnFriendRemoved(const NETLIBHTTPREQUEST *response, void *arg); void OnAuthRequested(const NETLIBHTTPREQUEST *response, void *arg); @@ -224,6 +225,7 @@ protected: static HGENMENU contactMenuItems[CMI_MAX]; int __cdecl AuthRequestCommand(WPARAM, LPARAM); + int __cdecl BlockCommand(WPARAM, LPARAM); int __cdecl JoinToGameCommand(WPARAM, LPARAM); static INT_PTR MenuChooseService(WPARAM wParam, LPARAM lParam); -- cgit v1.2.3