Old fashion design for PC-104
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

71 lines
1.8 KiB

//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright © 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: ProgramModeDlg.cpp
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Source file of ProgramModeDlg.cpp
//----------------------------------------------------------------------------
// ProgramModeDlg.cpp : implementation file
//
#include "stdafx.h"
#include "chicago.h"
#include "..\DLIB\AuxLib.h"
#include "ProgramModeDlg.h"
#include "..\..\LgLib\Version.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CProgramModeDlg dialog
CProgramModeDlg::CProgramModeDlg(CWnd* pParent /*=NULL*/)
: CDialog(CProgramModeDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CProgramModeDlg)
m_nMode = 0;
//}}AFX_DATA_INIT
LGLOG( LOG_LEVEL_MEDIUM, LOG_TYPE_INFO, this, _T("CProgramModeDlg::CProgramModeDlg") );
}
void CProgramModeDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CProgramModeDlg)
DDX_Radio(pDX, IDC_RADIO_START_MODE, m_nMode);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CProgramModeDlg, CDialog)
//{{AFX_MSG_MAP(CProgramModeDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CProgramModeDlg message handlers
int CProgramModeDlg::GetMode()
{
switch( m_nMode )
{
case 0: return MODE_HOST;
case 1: return MODE_MOBILEMAP;
case 2: return MODE_BACKUP;
}
return MODE_MOBILEMAP;
}