From 3e9e349a53492e5377154b8518803058d72e37ed Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 13 May 2015 19:32:08 +0000 Subject: Dropbox: moved to core ui git-svn-id: http://svn.miranda-ng.org/main/trunk@13574 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dropbox/src/dropbox_dialogs.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 plugins/Dropbox/src/dropbox_dialogs.h (limited to 'plugins/Dropbox/src/dropbox_dialogs.h') diff --git a/plugins/Dropbox/src/dropbox_dialogs.h b/plugins/Dropbox/src/dropbox_dialogs.h new file mode 100644 index 0000000000..c39e3e342a --- /dev/null +++ b/plugins/Dropbox/src/dropbox_dialogs.h @@ -0,0 +1,24 @@ +#ifndef _DROPBOX_DIALOGS_H_ +#define _DROPBOX_DIALOGS_H_ + +class CDropboxDlgBase : public CDlgBase +{ +protected: + CDropbox *m_instance; + +public: + CDropboxDlgBase(CDropbox *instance, int idDialog); + + void CreateLink(CCtrlData& ctrl, const char *szSetting, BYTE type, DWORD iValue); + void CreateLink(CCtrlData& ctrl, const char *szSetting, TCHAR *szValue); + + template + __inline void CreateLink(CCtrlData& ctrl, CMOption &option) + { + ctrl.CreateDbLink(new CMOptionLink(option)); + } + + __inline CDropbox *GetInstance() { return m_instance; } +}; + +#endif //_DROPBOX_DIALOGS_H_ \ No newline at end of file -- cgit v1.2.3