From 0e78d281be6ce359321346526f9687bab987d9e1 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 18 Apr 2015 22:24:28 +0000 Subject: Steam: fixed captacha & guard dialogs git-svn-id: http://svn.miranda-ng.org/main/trunk@12926 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_dialogs.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'protocols/Steam/src/steam_dialogs.h') diff --git a/protocols/Steam/src/steam_dialogs.h b/protocols/Steam/src/steam_dialogs.h index 768d87c75c..d98eac7222 100644 --- a/protocols/Steam/src/steam_dialogs.h +++ b/protocols/Steam/src/steam_dialogs.h @@ -32,6 +32,7 @@ private: typedef CSteamDlgBase CSuper; char m_domain[32]; + char m_guardCode[5]; CCtrlEdit m_text; CCtrlButton m_ok; @@ -45,7 +46,7 @@ protected: public: CSteamGuardDialog(CSteamProto *proto, char *domain); - char *GetGuardCode(); + const char *GetGuardCode(); }; ///////////////////////////////////////////////////////////////////////////////// @@ -55,6 +56,8 @@ class CSteamCaptchaDialog : public CSteamDlgBase private: typedef CSteamDlgBase CSuper; + char m_captchaText[6]; + BYTE *m_captchaImage; int m_captchaImageSize; @@ -72,7 +75,7 @@ public: CSteamCaptchaDialog(CSteamProto *proto, BYTE *captchaImage, int captchaImageSize); ~CSteamCaptchaDialog(); - char *GetCaptchaText(); + const char *GetCaptchaText(); }; ///////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3