OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

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