summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_options.h
blob: d216a5b54608e6ddb2ba6d3f1e9843856b154dba (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
#ifndef _DROPBOX_OPTIONS_H_
#define _DROPBOX_OPTIONS_H_

class CDropboxOptionsMain : public CDropboxDlgBase
{
private:
	CCtrlHyperlink m_auth;
	CCtrlEdit m_requestCode;
	CCtrlButton m_authorize;
	CCtrlBase m_authStatus;

	CCtrlCheck m_useShortUrl;
	CCtrlCheck m_urlAutoSend;
	CCtrlCheck m_urlPasteToMessageInputArea;
	CCtrlCheck m_urlCopyToClipboard;

protected:
	void OnInitDialog();

	void Auth_OnClick(CCtrlBase*);
	void RequestCode_OnChange(CCtrlBase*);
	void Authorize_OnClick(CCtrlBase*);

public:
	CDropboxOptionsMain(CDropbox *instance, int idDialog);

	static CDlgBase *CreateOptionsPage(void *param) { return new CDropboxOptionsMain((CDropbox*)param, IDD_OPTIONS_MAIN); }
};

#endif //_DROPBOX_OPTIONS_H_