summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/oauth.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/oauth.h')
-rw-r--r--plugins/CloudFile/src/oauth.h6
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*);