#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_