1 |
786 |
skrzyp |
// ####ECOSHOSTGPLCOPYRIGHTBEGIN####
|
2 |
|
|
// -------------------------------------------
|
3 |
|
|
// This file is part of the eCos host tools.
|
4 |
|
|
// Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
|
5 |
|
|
//
|
6 |
|
|
// This program is free software; you can redistribute it and/or modify
|
7 |
|
|
// it under the terms of the GNU General Public License as published by
|
8 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
9 |
|
|
// later version.
|
10 |
|
|
//
|
11 |
|
|
// This program is distributed in the hope that it will be useful, but
|
12 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14 |
|
|
// General Public License for more details.
|
15 |
|
|
//
|
16 |
|
|
// You should have received a copy of the GNU General Public License
|
17 |
|
|
// along with this program; if not, write to the
|
18 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
19 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
20 |
|
|
// -------------------------------------------
|
21 |
|
|
// ####ECOSHOSTGPLCOPYRIGHTEND####
|
22 |
|
|
#if !defined(AFX_LOCALPROPERTIESDIALOG_H__6CE08441_1806_11D3_8567_BA4E779DE044__INCLUDED_)
|
23 |
|
|
#define AFX_LOCALPROPERTIESDIALOG_H__6CE08441_1806_11D3_8567_BA4E779DE044__INCLUDED_
|
24 |
|
|
|
25 |
|
|
#if _MSC_VER > 1000
|
26 |
|
|
#pragma once
|
27 |
|
|
#endif // _MSC_VER > 1000
|
28 |
|
|
// LocalPropertiesDialog.h : header file
|
29 |
|
|
//
|
30 |
|
|
|
31 |
|
|
/////////////////////////////////////////////////////////////////////////////
|
32 |
|
|
// CLocalPropertiesDialog dialog
|
33 |
|
|
#include "eCosDialog.h"
|
34 |
|
|
class CLocalPropertiesDialog : public CeCosDialog
|
35 |
|
|
{
|
36 |
|
|
// Construction
|
37 |
|
|
public:
|
38 |
|
|
bool m_bSerial;
|
39 |
|
|
CLocalPropertiesDialog(bool bHideX10Controls=false); // standard constructor
|
40 |
|
|
int m_nBaud;
|
41 |
|
|
// Dialog Data
|
42 |
|
|
//{{AFX_DATA(CLocalPropertiesDialog)
|
43 |
|
|
CString m_strLocalTCPIPHost;
|
44 |
|
|
int m_nLocalTCPIPPort;
|
45 |
|
|
CString m_strPort;
|
46 |
|
|
int m_nReset;
|
47 |
|
|
CString m_strReset;
|
48 |
|
|
//}}AFX_DATA
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
// Overrides
|
52 |
|
|
// ClassWizard generated virtual function overrides
|
53 |
|
|
//{{AFX_VIRTUAL(CLocalPropertiesDialog)
|
54 |
|
|
protected:
|
55 |
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
56 |
|
|
//}}AFX_VIRTUAL
|
57 |
|
|
|
58 |
|
|
// Implementation
|
59 |
|
|
protected:
|
60 |
|
|
bool bHideX10Controls;
|
61 |
|
|
bool m_bHideX10Controls;
|
62 |
|
|
void SetButtons(bool bFromDataExchange=false);
|
63 |
|
|
|
64 |
|
|
// Generated message map functions
|
65 |
|
|
//{{AFX_MSG(CLocalPropertiesDialog)
|
66 |
|
|
virtual BOOL OnInitDialog();
|
67 |
|
|
afx_msg void OnRadioSerial();
|
68 |
|
|
afx_msg void OnRadioTcpip();
|
69 |
|
|
virtual void OnOK();
|
70 |
|
|
afx_msg void OnSelchangeReset();
|
71 |
|
|
//}}AFX_MSG
|
72 |
|
|
DECLARE_MESSAGE_MAP()
|
73 |
|
|
};
|
74 |
|
|
|
75 |
|
|
//{{AFX_INSERT_LOCATION}}
|
76 |
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
77 |
|
|
|
78 |
|
|
#endif // !defined(AFX_LOCALPROPERTIESDIALOG_H__6CE08441_1806_11D3_8567_BA4E779DE044__INCLUDED_)
|