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

Subversion Repositories openrisc

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

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_PLATFORMSDIALOG_H__75B523E9_E498_11D3_A546_00A0C949ADAC__INCLUDED_)
23
#define AFX_PLATFORMSDIALOG_H__75B523E9_E498_11D3_A546_00A0C949ADAC__INCLUDED_
24
 
25
#if _MSC_VER > 1000
26
#pragma once
27
#endif // _MSC_VER > 1000
28
// PlatformsDialog.h : header file
29
//
30
#include "testtoolres.h"
31
#include "eCosDialog.h"
32
#include "eCosTest.h"
33
 
34
/////////////////////////////////////////////////////////////////////////////
35
// CPlatformsDialog dialog
36
 
37
class CPlatformsDialog : public CeCosDialog
38
{
39
// Construction
40
  static const LPCTSTR arpszTypes[];
41
public:
42
  CeCosTestPlatform *Platform (int i) { return (CeCosTestPlatform *)m_arTargetInfo[i]; }
43
  unsigned int PlatformCount() const { return m_arTargetInfo.GetSize(); }
44
        CPlatformsDialog(CWnd* pParent = NULL);   // standard constructor
45
  void Add(const CeCosTestPlatform &ti);
46
 
47
// Dialog Data
48
        //{{AFX_DATA(CPlatformsDialog)
49
        enum { IDD = IDD_TT_PLATFORMS_DIALOG };
50
        CListCtrl       m_List;
51
        //}}AFX_DATA
52
 
53
 
54
// Overrides
55
        // ClassWizard generated virtual function overrides
56
        //{{AFX_VIRTUAL(CPlatformsDialog)
57
        protected:
58
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
59
        //}}AFX_VIRTUAL
60
 
61
// Implementation
62
protected:
63
  CPtrArray m_arTargetInfo;
64
 
65
        // Generated message map functions
66
        //{{AFX_MSG(CPlatformsDialog)
67
        virtual BOOL OnInitDialog();
68
        afx_msg void OnAddPlatform();
69
        afx_msg void OnDeletePlatform();
70
        afx_msg void OnDblclkPlatformList(NMHDR* pNMHDR, LRESULT* pResult);
71
        afx_msg void OnModifyPlatform();
72
        afx_msg void OnKeydownPlatformList(NMHDR* pNMHDR, LRESULT* pResult);
73
        afx_msg void OnItemchangedPlatformList(NMHDR* pNMHDR, LRESULT* pResult);
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_PLATFORMSDIALOG_H__75B523E9_E498_11D3_A546_00A0C949ADAC__INCLUDED_)

powered by: WebSVN 2.1.0

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