47 lines
1 KiB
C++
47 lines
1 KiB
C++
// SettingsDlg.cpp : implementation file
|
|
//
|
|
|
|
#include "stdinc.h"
|
|
#include "host.h"
|
|
#include "SettingsDlg.h"
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSettingsDlg dialog
|
|
|
|
|
|
CSettingsDlg::CSettingsDlg(CWnd* pParent /*=NULL*/)
|
|
: CDialog(CSettingsDlg::IDD, pParent)
|
|
{
|
|
//{{AFX_DATA_INIT(CSettingsDlg)
|
|
m_sDBName = L"";
|
|
m_sDBQuery = L"";
|
|
m_sPath = L"";
|
|
//}}AFX_DATA_INIT
|
|
}
|
|
|
|
|
|
void CSettingsDlg::DoDataExchange(CDataExchange* pDX)
|
|
{
|
|
CDialog::DoDataExchange(pDX);
|
|
//{{AFX_DATA_MAP(CSettingsDlg)
|
|
DDX_Text(pDX, IDC_DB_FILE, m_sDBName);
|
|
DDX_Text(pDX, IDC_DB_QUERY, m_sDBQuery);
|
|
DDX_Text(pDX, IDC_DIR_PATH, m_sPath);
|
|
//}}AFX_DATA_MAP
|
|
}
|
|
|
|
|
|
BEGIN_MESSAGE_MAP(CSettingsDlg, CDialog)
|
|
//{{AFX_MSG_MAP(CSettingsDlg)
|
|
// NOTE: the ClassWizard will add message map macros here
|
|
//}}AFX_MSG_MAP
|
|
END_MESSAGE_MAP()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSettingsDlg message handlers
|