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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [common/] [win32/] [CdlTemplatesDialog.h] - Blame information for rev 786

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_CDLTEMPLATESDIALOG_H__D0F912EA_2D4C_11D3_BFFE_00A0C9554250__INCLUDED_)
23
#define AFX_CDLTEMPLATESDIALOG_H__D0F912EA_2D4C_11D3_BFFE_00A0C9554250__INCLUDED_
24
 
25
#if _MSC_VER > 1000
26
#pragma once
27
#endif // _MSC_VER > 1000
28
// CdlTemplatesDialog.h : header file
29
//
30
 
31
#define INCLUDEFILE <string>
32
#include "IncludeSTL.h"
33
 
34
/////////////////////////////////////////////////////////////////////////////
35
// CCdlTemplatesDialog dialog
36
 
37
#include "resource.h"
38
#include "eCosDialog.h"
39
 
40
class CCdlTemplatesDialog : public CeCosDialog
41
{
42
// Construction
43
public:
44
        std::string GetSelectedHardware () const { return m_hardware; }
45
        std::string GetSelectedTemplate () const { return m_template; }
46
        std::string GetSelectedTemplateVersion () const { return m_template_version; }
47
        CCdlTemplatesDialog(CWnd* pParent = NULL);   // standard constructor
48
 
49
// Dialog Data
50
        //{{AFX_DATA(CCdlTemplatesDialog)
51
        enum { IDD = IDD_CDL_TEMPLATES };
52
        CComboBox       m_cboCdlTemplate;
53
        CComboBox       m_cboCdlTemplateVersion;
54
        CComboBox       m_cboCdlHardware;
55
        CEdit   m_edtCdlTemplatePackages;
56
        CString m_strCdlHardwareDescription;
57
        CString m_strCdlTemplateDescription;
58
        CString m_strCdlTemplatePackages;
59
        //}}AFX_DATA
60
 
61
 
62
// Overrides
63
        // ClassWizard generated virtual function overrides
64
        //{{AFX_VIRTUAL(CCdlTemplatesDialog)
65
        protected:
66
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
67
        //}}AFX_VIRTUAL
68
 
69
// Implementation
70
protected:
71
 
72
        // Generated message map functions
73
        //{{AFX_MSG(CCdlTemplatesDialog)
74
        virtual BOOL OnInitDialog();
75
        afx_msg void OnSelchangeCdlHardware();
76
        afx_msg void OnSelchangeCdlTemplate();
77
        afx_msg void OnSelchangeCdlTemplateVersion();
78
        afx_msg void OnDetails();
79
        //}}AFX_MSG
80
        DECLARE_MESSAGE_MAP()
81
        void UpdateVersionList (std::string default_version);
82
        void UpdateDetails ();
83
private:
84
        void ShowDetails (bool bShow);
85
        std::string m_hardware;
86
        std::string m_template;
87
        std::string m_template_version;
88
};
89
 
90
//{{AFX_INSERT_LOCATION}}
91
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
92
 
93
#endif // !defined(AFX_CDLTEMPLATESDIALOG_H__D0F912EA_2D4C_11D3_BFFE_00A0C9554250__INCLUDED_)

powered by: WebSVN 2.1.0

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