summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/options.cpp')
-rw-r--r--plugins/CloudFile/src/options.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/plugins/CloudFile/src/options.cpp b/plugins/CloudFile/src/options.cpp
new file mode 100644
index 0000000000..48a0f3c995
--- /dev/null
+++ b/plugins/CloudFile/src/options.cpp
@@ -0,0 +1,33 @@
+#include "stdafx.h"
+
+COptionsMain::COptionsMain()
+ : CPluginDlgBase(hInstance, IDD_OPTIONS_MAIN, MODULE),
+ m_urlAutoSend(this, IDC_URL_AUTOSEND),
+ m_urlPasteToMessageInputArea(this, IDC_URL_COPYTOMIA),
+ m_urlCopyToClipboard(this, IDC_URL_COPYTOCB)
+{
+ CreateLink(m_urlAutoSend, "UrlAutoSend", DBVT_BYTE, 1);
+ CreateLink(m_urlPasteToMessageInputArea, "UrlPasteToMessageInputArea", DBVT_BYTE, 0);
+ CreateLink(m_urlCopyToClipboard, "UrlCopyToClipboard", DBVT_BYTE, 0);
+}
+
+void COptionsMain::OnInitDialog()
+{
+ CDlgBase::OnInitDialog();
+}
+
+/////////////////////////////////////////////////////////////////////////////////
+
+int OnOptionsInitialized(WPARAM wParam, LPARAM)
+{
+ OPTIONSDIALOGPAGE odp = { 0 };
+ odp.szTitle.w = _A2W(MODULE);
+ odp.flags = ODPF_BOLDGROUPS | ODPF_UNICODE | ODPF_DONTTRANSLATE;
+ odp.szGroup.w = LPGENW("Network");
+
+ odp.szTab.w = LPGENW("General");
+ odp.pDialog = new COptionsMain();
+ Options_AddPage(wParam, &odp);
+
+ return 0;
+}