blob: c39e3e342a57ed9d4fcd3710dda2e26695b0a6cd (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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_
 |