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_dialogs.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_dialogs.h')
-rw-r--r-- | plugins/Dropbox/src/dropbox_dialogs.h | 24 |
1 files changed, 24 insertions, 0 deletions
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<class T>
+ __inline void CreateLink(CCtrlData& ctrl, CMOption<T> &option)
+ {
+ ctrl.CreateDbLink(new CMOptionLink<T>(option));
+ }
+
+ __inline CDropbox *GetInstance() { return m_instance; }
+};
+
+#endif //_DROPBOX_DIALOGS_H_
\ No newline at end of file |