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_SUMMARYPAGE_H__AC331EDE_1201_11D3_A507_00A0C949ADAC__INCLUDED_)
|
23 |
|
|
#define AFX_SUMMARYPAGE_H__AC331EDE_1201_11D3_A507_00A0C949ADAC__INCLUDED_
|
24 |
|
|
|
25 |
|
|
#if _MSC_VER > 1000
|
26 |
|
|
#pragma once
|
27 |
|
|
#endif // _MSC_VER > 1000
|
28 |
|
|
// SummaryPage.h : header file
|
29 |
|
|
//
|
30 |
|
|
/////////////////////////////////////////////////////////////////////////////
|
31 |
|
|
// CSummaryPage dialog
|
32 |
|
|
class CeCosTest;
|
33 |
|
|
#include "eCosPropertyPage.h"
|
34 |
|
|
|
35 |
|
|
class CSummaryPage : public CeCosPropertyPage
|
36 |
|
|
{
|
37 |
|
|
DECLARE_DYNCREATE(CSummaryPage)
|
38 |
|
|
|
39 |
|
|
// Construction
|
40 |
|
|
public:
|
41 |
|
|
void AddResult (CeCosTest *pTest);
|
42 |
|
|
CSummaryPage();
|
43 |
|
|
~CSummaryPage();
|
44 |
|
|
|
45 |
|
|
// Dialog Data
|
46 |
|
|
//{{AFX_DATA(CSummaryPage)
|
47 |
|
|
CListCtrl m_List;
|
48 |
|
|
//}}AFX_DATA
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
// Overrides
|
52 |
|
|
// ClassWizard generate virtual function overrides
|
53 |
|
|
//{{AFX_VIRTUAL(CSummaryPage)
|
54 |
|
|
protected:
|
55 |
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
56 |
|
|
//}}AFX_VIRTUAL
|
57 |
|
|
|
58 |
|
|
// Implementation
|
59 |
|
|
protected:
|
60 |
|
|
static const int nCols;
|
61 |
|
|
static LPCTSTR arpszCols[];
|
62 |
|
|
CRect m_rcPrev,m_rcOffset;
|
63 |
|
|
int m_nLastCol;
|
64 |
|
|
static int CALLBACK CompareFunc(LPARAM lParam1,LPARAM lParam2, LPARAM lParamSort);
|
65 |
|
|
// Generated message map functions
|
66 |
|
|
//{{AFX_MSG(CSummaryPage)
|
67 |
|
|
virtual BOOL OnInitDialog();
|
68 |
|
|
afx_msg void OnRclickList(NMHDR* pNMHDR, LRESULT* pResult);
|
69 |
|
|
afx_msg void OnClear();
|
70 |
|
|
afx_msg void OnColumnclickList(NMHDR* pNMHDR, LRESULT* pResult);
|
71 |
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
72 |
|
|
afx_msg void OnEditSave();
|
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_SUMMARYPAGE_H__AC331EDE_1201_11D3_A507_00A0C949ADAC__INCLUDED_)
|