#ifndef _OAUTH_H_ #define _OAUTH_H_ class COAuthDlg : public CDlgBase { private: CCloudService *m_service; pThreadFuncOwner m_requestAccessTokenThread; CCtrlHyperlink m_authorize; CCtrlEdit m_code; CCtrlButton m_ok; protected: void OnInitDialog() override; void Code_OnChange(CCtrlBase*); void Ok_OnClick(CCtrlButton*); public: COAuthDlg(CCloudService *service, const char *authUrl, pThreadFuncOwner requestAccessTokenThread); }; #endif //_OAUTH_H_