1 //####COPYRIGHTBEGIN####
3 // ----------------------------------------------------------------------------
4 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
6 // This program is part of the eCos host tools.
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)
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
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.
22 // ----------------------------------------------------------------------------
24 //####COPYRIGHTEND####
25 #if !defined(AFX_EXECUTIONPAGE_H__44CEA288_11C4_11D3_A505_00A0C949ADAC__INCLUDED_)
26 #define AFX_EXECUTIONPAGE_H__44CEA288_11C4_11D3_A505_00A0C949ADAC__INCLUDED_
30 #endif // _MSC_VER > 1000
31 // ExecutionPage.h : header file
33 #include "eCosPropertyPage.h"
34 #include "FileListBox.h"
35 #include "Collections.h"
36 /////////////////////////////////////////////////////////////////////////////
37 // CExecutionPage dialog
39 class CExecutionPage : public CeCosPropertyPage
41 DECLARE_DYNCREATE(CExecutionPage)
45 bool SomeTestsSelected();
46 String m_strExtension;
47 CMapStringToPtr m_arstrPreLoad; // If set on startup, load files from here
48 CString SelectedTest(int nIndex);
49 int SelectedTestCount();
50 bool IsSelected(int i);
55 void FillListBox(LPCTSTR pszFolder);
58 //{{AFX_DATA(CExecutionPage)
64 // ClassWizard generate virtual function overrides
65 //{{AFX_VIRTUAL(CExecutionPage)
67 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
76 static CExecutionPage *pDlg;
77 static LRESULT CALLBACK WindowProcNew(HWND hwnd,UINT message, WPARAM wParam, LPARAM lParam);
80 static int CALLBACK CBBrowseCallbackProc (HWND hwnd,UINT uMsg,LPARAM lParam,LPARAM lpData);
82 // Generated message map functions
83 //{{AFX_MSG(CExecutionPage)
84 afx_msg void OnFolder();
85 afx_msg void OnSelectAll();
86 afx_msg void OnUnselectAll();
88 afx_msg void OnRemove();
89 virtual BOOL OnInitDialog();
90 afx_msg void OnSize(UINT nType, int cx, int cy);
91 afx_msg LRESULT OnKickIdle(WPARAM, LPARAM);
97 //{{AFX_INSERT_LOCATION}}
98 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
100 #endif // !defined(AFX_EXECUTIONPAGE_H__44CEA288_11C4_11D3_A505_00A0C949ADAC__INCLUDED_)