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