]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - tools/src/tools/configtool/common/win32/PropertiesView.h
Initial revision
[karo-tx-redboot.git] / tools / src / tools / configtool / common / win32 / PropertiesView.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 // PropertiesView.h : interface of the CPropertiesView class
26 //
27 /////////////////////////////////////////////////////////////////////////////
28
29 #if !defined(AFX_PROPERTIESVIEW_H__9D3E02FA_8D4E_11D3_A535_00A0C949ADAC__INCLUDED_)
30 #define AFX_PROPERTIESVIEW_H__9D3E02FA_8D4E_11D3_A535_00A0C949ADAC__INCLUDED_
31
32 #include "PropertiesList.h"
33
34 #if _MSC_VER > 1000
35 #pragma once
36 #endif // _MSC_VER > 1000
37
38
39 class CPropertiesView : public CView
40 {
41 protected: // create from serialization only
42         CPropertiesView();
43         DECLARE_DYNCREATE(CPropertiesView)
44
45 // Attributes
46 public:
47
48 // Operations
49 public:
50 // Overrides
51         // ClassWizard generated virtual function overrides
52         //{{AFX_VIRTUAL(CPropertiesView)
53         public:
54         virtual void OnDraw(CDC* pDC);  // overridden to draw this view
55         virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
56         virtual void OnInitialUpdate();     // first time after construct
57         virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
58         protected:
59         //}}AFX_VIRTUAL
60
61 // Implementation
62 public:
63         virtual ~CPropertiesView();
64 #ifdef _DEBUG
65         virtual void AssertValid() const;
66         virtual void Dump(CDumpContext& dc) const;
67 #endif
68
69 protected:
70
71 // Generated message map functions
72 protected:
73         CPropertiesList m_List;
74         //{{AFX_MSG(CPropertiesView)
75         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
76         afx_msg void OnSize(UINT nType, int cx, int cy);
77         afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
78         //}}AFX_MSG
79         DECLARE_MESSAGE_MAP()
80 };
81
82 /////////////////////////////////////////////////////////////////////////////
83
84 //{{AFX_INSERT_LOCATION}}
85 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
86
87 #endif // !defined(AFX_PROPERTIESVIEW_H__9D3E02FA_8D4E_11D3_A535_00A0C949ADAC__INCLUDED_)