summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_dialogs.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-05-13 19:32:08 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-05-13 19:32:08 +0000
commit3e9e349a53492e5377154b8518803058d72e37ed (patch)
tree4bc613530728ee890c0e521654c004efd581d799 /plugins/Dropbox/src/dropbox_dialogs.cpp
parentd333cb91eb0fb51faf34772258a5084e95f047d8 (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_dialogs.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox_dialogs.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/Dropbox/src/dropbox_dialogs.cpp b/plugins/Dropbox/src/dropbox_dialogs.cpp
index 1bbc71326e..0634fab398 100644
--- a/plugins/Dropbox/src/dropbox_dialogs.cpp
+++ b/plugins/Dropbox/src/dropbox_dialogs.cpp
@@ -1,5 +1,22 @@
#include "stdafx.h"
+CDropboxDlgBase::CDropboxDlgBase(CDropbox *instance, int idDialog)
+ : CDlgBase(g_hInstance, idDialog), m_instance(instance)
+{
+}
+
+void CDropboxDlgBase::CreateLink(CCtrlData& ctrl, const char *szSetting, BYTE type, DWORD iValue)
+{
+ ctrl.CreateDbLink(MODULE, szSetting, type, iValue);
+}
+
+void CDropboxDlgBase::CreateLink(CCtrlData& ctrl, const char *szSetting, TCHAR *szValue)
+{
+ ctrl.CreateDbLink(MODULE, szSetting, szValue);
+}
+
+/////////////////////////////////////////////////////////////
+
INT_PTR CALLBACK CDropbox::MainOptionsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
CDropbox *instance = (CDropbox*)GetWindowLongPtr(hwndDlg, GWLP_USERDATA);