blob: 24f755fc79d0931e7f4d88a8368d05d5f986919a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  | 
#ifndef _OAUTH_H_
#define _OAUTH_H_
class COAuthDlg : public CDlgBase
{
	CCloudService *m_service;
	CCloudService::MyThreadFunc m_requestAccessTokenThread;
	CCtrlButton m_ok;
	CCtrlHyperlink m_authorize;
	CCtrlEdit m_code;
protected:
	bool OnInitDialog() override;
	bool OnApply() override;
	void Code_OnChange(CCtrlBase*);
public:
	COAuthDlg(CCloudService *service, const char *authUrl, CCloudService::MyThreadFunc requestAccessTokenThread);
};
#endif //_OAUTH_H_
  |