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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [testtool/] [win32/] [PropertiesDialog.h] - Blame information for rev 787

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

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