diff options
author | aunsane <aunsane@gmail.com> | 2018-02-19 00:00:03 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-02-19 00:00:20 +0300 |
commit | 46e398c0d295f3d33fe4c0450c36e1fc45a95616 (patch) | |
tree | 727617421cce4e6cc7f0863b4c4fcf367e135a10 /plugins/CloudFile/src/oauth.h | |
parent | 66c4ae72a70a6e155c4a2a6d14c91c532cdb3974 (diff) |
CloudFile: added support for the usual accounts system(#1144)
Diffstat (limited to 'plugins/CloudFile/src/oauth.h')
-rw-r--r-- | plugins/CloudFile/src/oauth.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/oauth.h b/plugins/CloudFile/src/oauth.h index 434927f791..cbc4b3855e 100644 --- a/plugins/CloudFile/src/oauth.h +++ b/plugins/CloudFile/src/oauth.h @@ -5,13 +5,17 @@ class COAuthDlg : public CDlgBase { private: CCloudService *m_service; + const char *m_authUrl; pThreadFuncOwner m_requestAccessTokenThread; - CCtrlHyperlink m_auth; + CCtrlButton m_authorize; CCtrlEdit m_code; CCtrlButton m_ok; protected: + void OnInitDialog() override; + + void Auth_OnClick(CCtrlButton*); void Code_OnChange(CCtrlBase*); void Ok_OnClick(CCtrlButton*); |