diff options
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 |