summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_dialogs.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-06-30 08:29:55 +0000
committerRobert Pösel <robyer@seznam.cz>2016-06-30 08:29:55 +0000
commit092bd6e814c5112e19fcffb8716e1a02938f8803 (patch)
tree8fbf4e303682bc4e7fece17b01348e0ab36f979f /protocols/Steam/src/steam_dialogs.h
parentff1c157a941458735ece56effc60f3ab7a88b8d8 (diff)
Steam: Implement two factor (mobile) authentization; version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@17052 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_dialogs.h')
-rw-r--r--protocols/Steam/src/steam_dialogs.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_dialogs.h b/protocols/Steam/src/steam_dialogs.h
index 5bc4d6ecd3..133c19f414 100644
--- a/protocols/Steam/src/steam_dialogs.h
+++ b/protocols/Steam/src/steam_dialogs.h
@@ -49,6 +49,27 @@ public:
/////////////////////////////////////////////////////////////////////////////////
+class CSteamTwoFactorDialog : public CSteamDlgBase
+{
+private:
+ char m_twoFactorCode[6];
+
+ CCtrlEdit m_text;
+ CCtrlButton m_ok;
+
+protected:
+ void OnInitDialog();
+ void OnOk(CCtrlButton*);
+ void OnClose();
+
+public:
+ CSteamTwoFactorDialog(CSteamProto *proto);
+
+ const char *GetTwoFactorCode();
+};
+
+/////////////////////////////////////////////////////////////////////////////////
+
class CSteamCaptchaDialog : public CSteamDlgBase
{
private: