blob: 9f5ffa16071a1416b6977a3a10f00ac0f88029e4 (
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
44
45
46
47
48
49
50
|
#ifndef _DROPBOX_OPTIONS_H_
#define _DROPBOX_OPTIONS_H_
class CDropboxOptionsMain : public CPluginDlgBase
{
private:
CDropbox *m_instance;
CCtrlHyperlink m_auth;
CCtrlEdit m_requestCode;
CCtrlButton m_authorize;
CCtrlBase m_authStatus;
CCtrlCheck m_urlIsTemporary;
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);
static CDlgBase *CreateOptionsPage(void *param) { return new CDropboxOptionsMain((CDropbox*)param); }
};
class CDropboxOptionsInterception : public CPluginDlgBase
{
private:
bool isAccountListInit;
CCtrlListView m_accounts;
protected:
void OnInitDialog();
INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam);
void OnApply();
public:
CDropboxOptionsInterception(CDropbox *instance);
static CDlgBase *CreateOptionsPage(void *param) { return new CDropboxOptionsInterception((CDropbox*)param); }
};
#endif //_DROPBOX_OPTIONS_H_
|