From 6b0e2e70e2cf701dfb3338379598efe2f168e859 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 3 May 2014 08:57:07 +0000 Subject: Steam: added "Request authorization" contact menu item git-svn-id: http://svn.miranda-ng.org/main/trunk@9109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_proto.h | 10 +++++++++- 1 file changed, 9 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 7f188cca14..88a18a74f1 100644 --- a/protocols/Steam/src/steam_proto.h +++ b/protocols/Steam/src/steam_proto.h @@ -17,6 +17,12 @@ struct CaptchaParam char text[10]; }; +struct SendAuthParam +{ + MCONTACT hContact; + HANDLE hAuth; +}; + struct SendMessageParam { MCONTACT hContact; @@ -32,7 +38,7 @@ struct STEAM_SEARCH_RESULT enum { - //CMI_AUTH_REQUEST, + CMI_AUTH_REQUEST, //CMI_AUTH_GRANT, //CMI_AUTH_REVOKE, //CMI_BLOCK, @@ -106,6 +112,7 @@ public: protected: bool m_bTerminated; HANDLE m_hPollingThread; + ULONG hAuthProcess; ULONG hMessageProcess; CRITICAL_SECTION contact_search_lock; @@ -159,6 +166,7 @@ protected: static HANDLE hChooserMenu; static HGENMENU contactMenuItems[CMI_MAX]; + int __cdecl AuthRequestCommand(WPARAM, LPARAM); int __cdecl JoinToGameCommand(WPARAM, LPARAM); static INT_PTR MenuChooseService(WPARAM wParam, LPARAM lParam); -- cgit v1.2.3