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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [common/] [win32/] [CdlPackagesDialog.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_CDLPACKAGESDIALOG_H__A14A0BAF_2ECF_11D3_BFFE_00A0C9554250__INCLUDED_)
23
#define AFX_CDLPACKAGESDIALOG_H__A14A0BAF_2ECF_11D3_BFFE_00A0C9554250__INCLUDED_
24
 
25
#if _MSC_VER > 1000
26
#pragma once
27
#endif // _MSC_VER > 1000
28
// CdlPackagesDialog.h : header file
29
//
30
#include "AddRemoveDialog.h"
31
#include "resource.h"
32
/////////////////////////////////////////////////////////////////////////////
33
// CCdlPackagesDialog dialog
34
 
35
class CCdlPackagesDialog : public CAddRemoveDialog
36
{
37
// Construction
38
public:
39
        CCdlPackagesDialog(CWnd* pParent = NULL);   // standard constructor
40
 
41
// Dialog Data
42
        //{{AFX_DATA(CCdlPackagesDialog)
43
        enum { IDD = IDD_CDL_PACKAGES };
44
        CComboBox       m_cboPackageVersion;
45
        CString m_strPackageDescription;
46
        //}}AFX_DATA
47
 
48
 
49
// Overrides
50
        // ClassWizard generated virtual function overrides
51
        //{{AFX_VIRTUAL(CCdlPackagesDialog)
52
        protected:
53
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
54
        //}}AFX_VIRTUAL
55
 
56
// Implementation
57
public:
58
        CString GetVersion (LPCTSTR pszItem);
59
        void Insert (LPCTSTR pszItem, bool bAdded, LPCTSTR pszDesc = NULL, LPCTSTR pszVersion = NULL);
60
protected:
61
        void HardwarePackageMessageBox();
62
        void UpdateHardwareSelectionFlag();
63
        bool m_bHardwarePackageSelected;
64
        CStringArray m_arstrVersions;
65
        void UpdatePackageDescription();
66
        void UpdateVersionList();
67
 
68
        // Generated message map functions
69
        //{{AFX_MSG(CCdlPackagesDialog)
70
        afx_msg void OnSelchangeList1();
71
        afx_msg void OnSelchangeList2();
72
        virtual BOOL OnInitDialog();
73
        afx_msg void OnSelchangePackageVersion();
74
        afx_msg void OnAdd();
75
        afx_msg void OnRemove();
76
        afx_msg void OnDblclkList1();
77
        afx_msg void OnDblclkList2();
78
        //}}AFX_MSG
79
        DECLARE_MESSAGE_MAP()
80
};
81
 
82
//{{AFX_INSERT_LOCATION}}
83
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
84
 
85
#endif // !defined(AFX_CDLPACKAGESDIALOG_H__A14A0BAF_2ECF_11D3_BFFE_00A0C9554250__INCLUDED_)

powered by: WebSVN 2.1.0

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