comparison host/tools/testtool/win32/LocalPropertiesDialog.h @ 76:435cced73e2f ecos-v1_3_1-release

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