summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_options.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-02-26 11:29:17 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-02-26 11:29:17 +0000
commit987ceba57a977c691977a0f5aa8005678fcbc7e7 (patch)
tree1e52b2b0aafc60d0365034f28394cfb2dee0e587 /plugins/Dropbox/src/dropbox_options.h
parenta16909cbcbf6d18ab622ac5bbb05a8d743a93db3 (diff)
Dropbox:
- added ability to intercept transfers from other protocols - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@16344 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_options.h')
-rw-r--r--plugins/Dropbox/src/dropbox_options.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/plugins/Dropbox/src/dropbox_options.h b/plugins/Dropbox/src/dropbox_options.h
index d216a5b546..7c68ece9d5 100644
--- a/plugins/Dropbox/src/dropbox_options.h
+++ b/plugins/Dropbox/src/dropbox_options.h
@@ -22,9 +22,26 @@ protected:
void Authorize_OnClick(CCtrlBase*);
public:
- CDropboxOptionsMain(CDropbox *instance, int idDialog);
+ CDropboxOptionsMain(CDropbox *instance);
- static CDlgBase *CreateOptionsPage(void *param) { return new CDropboxOptionsMain((CDropbox*)param, IDD_OPTIONS_MAIN); }
+ static CDlgBase *CreateOptionsPage(void *param) { return new CDropboxOptionsMain((CDropbox*)param); }
+};
+
+class CDropboxOptionsInterception : public CDropboxDlgBase
+{
+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_ \ No newline at end of file