OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [tools/] [src/] [tools/] [testtool/] [win32/] [PropertiesDialog.h] - Blame information for rev 564

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 26 unneback
//####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_CONNECTIONPAGE_H__44CEA287_11C4_11D3_A505_00A0C949ADAC__INCLUDED_)
26
#define AFX_CONNECTIONPAGE_H__44CEA287_11C4_11D3_A505_00A0C949ADAC__INCLUDED_
27
 
28
#if _MSC_VER > 1000
29
#pragma once
30
#endif // _MSC_VER > 1000
31
// ConnectionPage.h : header file
32
//
33
#include "eCosDialog.h"
34
#include "eCosTest.h"
35
#include "TestToolRes.h"
36
/////////////////////////////////////////////////////////////////////////////
37
// CPropertiesDialog dialog
38
 
39
class CPropertiesDialog : public CeCosDialog
40
{
41
//      DECLARE_DYNCREATE(CPropertiesDialog)
42
 
43
// Construction
44
public:
45
        CString m_strTarget;
46
        UINT m_nRemotePort;
47
        CString m_strRemoteHost;
48
        bool m_bFarmed;
49
        CString m_strPort;
50
        CString m_strReset;
51
        bool m_bRemote;
52
        bool m_bSerial;
53
        int             m_nBaud;
54
        CString m_strLocalTCPIPHost;
55
        UINT    m_nLocalTCPIPPort;
56
        int             m_nReset;
57
        CString m_strResourceHost;
58
        UINT    m_nResourcePort;
59
 
60
        CPropertiesDialog(bool bHideTarget=false,bool bHideRemoteControls=false);
61
        ~CPropertiesDialog();
62
 
63
    // Dialog Data
64
        //{{AFX_DATA(CPropertiesDialog)
65
        UINT    m_nDownloadTimeout;
66
        UINT    m_nTimeout;
67
        int             m_nDownloadTimeoutType;
68
        int             m_nTimeoutType;
69
        //}}AFX_DATA
70
 
71
 
72
// Overrides
73
        // ClassWizard generate virtual function overrides
74
        //{{AFX_VIRTUAL(CPropertiesDialog)
75
        protected:
76
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
77
        //}}AFX_VIRTUAL
78
 
79
// Implementation
80
protected:
81
        bool m_bHideRemoteControls;
82
        bool m_bHideTarget;
83
        bool m_bConnectionModified;
84
        CStringArray m_arstrPorts;
85
    #ifdef POPUP_PROPERTIES
86
    bool m_bModified;
87
    #endif
88
 
89
        void SetButtons();
90
        // Generated message map functions
91
        //{{AFX_MSG(CPropertiesDialog)
92
        afx_msg void OnRadioLocal();
93
        afx_msg void OnRadioRemote();
94
        virtual BOOL OnInitDialog();
95
        afx_msg void OnSelchangePlatform();
96
        afx_msg void OnSettings();
97
        virtual void OnCancel();
98
        afx_msg void OnSelchangeDownloadtimeoutCombo();
99
        afx_msg void OnSelchangeTimeoutCombo();
100
        //}}AFX_MSG
101
        DECLARE_MESSAGE_MAP()
102
 
103
};
104
 
105
//{{AFX_INSERT_LOCATION}}
106
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
107
 
108
#endif // !defined(AFX_CONNECTIONPAGE_H__44CEA287_11C4_11D3_A505_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.