]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - tools/src/tools/testtool/win32/OutputPage.h
Initial revision
[karo-tx-redboot.git] / tools / src / tools / testtool / win32 / OutputPage.h
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_OUTPUTPAGE_H__44CEA28A_11C4_11D3_A505_00A0C949ADAC__INCLUDED_)
26 #define AFX_OUTPUTPAGE_H__44CEA28A_11C4_11D3_A505_00A0C949ADAC__INCLUDED_
27
28 #if _MSC_VER > 1000
29 #pragma once
30 #endif // _MSC_VER > 1000
31 // OutputPage.h : header file
32 //
33 #include "TestToolRes.h"                // main symbols
34 #include "OutputEdit.h"
35 #include "eCosPropertyPage.h"
36 /////////////////////////////////////////////////////////////////////////////
37 // COutputPage dialog
38
39 class COutputPage : public CeCosPropertyPage
40 {
41         DECLARE_DYNCREATE(COutputPage)
42
43 // Construction
44 public:
45         void AddLogMsg(LPCTSTR psz);
46         void AddText (LPCTSTR psz);
47         COutputPage();
48         ~COutputPage();
49
50 // Dialog Data
51         //{{AFX_DATA(COutputPage)
52         COutputEdit     m_Edit;
53         //}}AFX_DATA
54
55
56 // Overrides
57         // ClassWizard generate virtual function overrides
58         //{{AFX_VIRTUAL(COutputPage)
59         public:
60         virtual BOOL OnSetActive();
61         protected:
62         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
63         //}}AFX_VIRTUAL
64
65 // Implementation
66 protected:
67         CRect m_rcPrev;
68     CFont m_Font;
69         // Generated message map functions
70         //{{AFX_MSG(COutputPage)
71         virtual BOOL OnInitDialog();
72         afx_msg void OnSize(UINT nType, int cx, int cy);
73         //}}AFX_MSG
74         DECLARE_MESSAGE_MAP()
75
76 };
77
78 //{{AFX_INSERT_LOCATION}}
79 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
80
81 #endif // !defined(AFX_OUTPUTPAGE_H__44CEA28A_11C4_11D3_A505_00A0C949ADAC__INCLUDED_)