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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [testtool/] [win32/] [ExecutionPage.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_EXECUTIONPAGE_H__44CEA288_11C4_11D3_A505_00A0C949ADAC__INCLUDED_)
23
#define AFX_EXECUTIONPAGE_H__44CEA288_11C4_11D3_A505_00A0C949ADAC__INCLUDED_
24
 
25
#if _MSC_VER > 1000
26
#pragma once
27
#endif // _MSC_VER > 1000
28
// ExecutionPage.h : header file
29
//
30
#include "eCosPropertyPage.h"
31
#include "FileListBox.h"
32
#include "Collections.h"
33
/////////////////////////////////////////////////////////////////////////////
34
// CExecutionPage dialog
35
 
36
class CExecutionPage : public CeCosPropertyPage
37
{
38
        DECLARE_DYNCREATE(CExecutionPage)
39
 
40
// Construction
41
public:
42
        bool SomeTestsSelected();
43
        String m_strExtension;
44
        CMapStringToPtr m_arstrPreLoad; // If set on startup, load files from here
45
        CString SelectedTest(int nIndex);
46
        int SelectedTestCount();
47
        bool IsSelected(int i);
48
        CString m_strFolder;
49
        CExecutionPage();
50
        ~CExecutionPage();
51
        bool m_bRecurse;
52
        void FillListBox(LPCTSTR pszFolder);
53
 
54
// Dialog Data
55
        //{{AFX_DATA(CExecutionPage)
56
        CFileListBox    m_List;
57
        //}}AFX_DATA
58
 
59
 
60
// Overrides
61
        // ClassWizard generate virtual function overrides
62
        //{{AFX_VIRTUAL(CExecutionPage)
63
        protected:
64
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
65
        //}}AFX_VIRTUAL
66
 
67
// Implementation
68
protected:
69
        CStatic m_Static;
70
        CRect m_rcPrev;
71
        CEdit   m_Combo;
72
        WNDPROC m_wndProc;
73
    static CExecutionPage *pDlg;
74
        static LRESULT CALLBACK WindowProcNew(HWND hwnd,UINT message, WPARAM wParam, LPARAM lParam);
75
        CButton m_Button;
76
 
77
        static int CALLBACK CBBrowseCallbackProc (HWND hwnd,UINT uMsg,LPARAM lParam,LPARAM lpData);
78
 
79
        // Generated message map functions
80
        //{{AFX_MSG(CExecutionPage)
81
        afx_msg void OnFolder();
82
        afx_msg void OnSelectAll();
83
        afx_msg void OnUnselectAll();
84
        afx_msg void OnAdd();
85
        afx_msg void OnRemove();
86
        virtual BOOL OnInitDialog();
87
        afx_msg void OnSize(UINT nType, int cx, int cy);
88
    afx_msg LRESULT OnKickIdle(WPARAM, LPARAM);
89
        //}}AFX_MSG
90
        DECLARE_MESSAGE_MAP()
91
 
92
};
93
 
94
//{{AFX_INSERT_LOCATION}}
95
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
96
 
97
#endif // !defined(AFX_EXECUTIONPAGE_H__44CEA288_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.