summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-05-03 08:57:07 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-05-03 08:57:07 +0000
commit6b0e2e70e2cf701dfb3338379598efe2f168e859 (patch)
treef2de5b3fe9e13d5948ebeb86a18cd9327d729b1d /protocols/Steam/src/steam_proto.h
parent70436074ae8f66a092d0212fb8b99b94d0fd03a6 (diff)
Steam: added "Request authorization" contact menu item
git-svn-id: http://svn.miranda-ng.org/main/trunk@9109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_proto.h')
-rw-r--r--protocols/Steam/src/steam_proto.h10
1 files changed, 9 insertions, 1 deletions
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);