summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/options.h
blob: ba7682aef7daf4b1dd00b7021ad6c42112249daa (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 CPluginDlgBase
{
private:
	CCtrlCombo m_defaultService;

	CCtrlCheck m_doNothingOnConflict;
	CCtrlCheck m_renameOnConflict;
	CCtrlCheck m_repalceOnConflict;

	CCtrlCheck m_urlAutoSend;
	CCtrlCheck m_urlPasteToMessageInputArea;
	CCtrlCheck m_urlCopyToClipboard;

protected:
	void OnInitDialog();
	void OnApply();

public:
	COptionsMainDlg();
};

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

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

protected:
	void OnInitDialog();

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

public:
	CAccountManagerDlg(CCloudService *service);
};

#endif //_OPTIONS_H_