summaryrefslogtreecommitdiff
path: root/protocols/CloudFile/src/options.h
blob: aaf1440def0e3cfdd543ac9d9fa3a38ba808b902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef _OPTIONS_H_
#define _OPTIONS_H_

class COptionsMainDlg : public CDlgBase
{
private:
	CCtrlCombo m_defaultService;

	CCtrlCheck m_doNothingOnConflict;
	CCtrlCheck m_renameOnConflict;
	CCtrlCheck m_repalceOnConflict;

	CCtrlCheck m_urlAutoSend;
	CCtrlCheck m_urlPasteToMessageInputArea;
	CCtrlCheck m_urlCopyToClipboard;

protected:
	bool OnInitDialog() override;
	bool OnApply() override;

public:
	COptionsMainDlg();
};

/////////////////////////////////////////////////////////////////////////////////

class CAccountManagerDlg : public CProtoDlgBase<CCloudService>
{
private:
	CCtrlButton m_requestAccess;
	CCtrlButton m_revokeAccess;

protected:
	bool OnInitDialog() override;

	void RequestAccess_OnClick(CCtrlButton*);
	void RevokeAccess_OnClick(CCtrlButton*);

public:
	CAccountManagerDlg(CCloudService *service);
};

#endif //_OPTIONS_H_