diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-05-13 19:32:08 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-05-13 19:32:08 +0000 |
commit | 3e9e349a53492e5377154b8518803058d72e37ed (patch) | |
tree | 4bc613530728ee890c0e521654c004efd581d799 /plugins/Dropbox/src/dropbox_options.h | |
parent | d333cb91eb0fb51faf34772258a5084e95f047d8 (diff) |
Dropbox: moved to core ui
git-svn-id: http://svn.miranda-ng.org/main/trunk@13574 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_options.h')
-rw-r--r-- | plugins/Dropbox/src/dropbox_options.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/Dropbox/src/dropbox_options.h b/plugins/Dropbox/src/dropbox_options.h new file mode 100644 index 0000000000..d216a5b546 --- /dev/null +++ b/plugins/Dropbox/src/dropbox_options.h @@ -0,0 +1,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_
\ No newline at end of file |