1 |
26 |
unneback |
//####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_ECOSPROPERTYPAGE_H__900AB3BE_8321_11D3_A534_00A0C949ADAC__INCLUDED_)
|
26 |
|
|
#define AFX_ECOSPROPERTYPAGE_H__900AB3BE_8321_11D3_A534_00A0C949ADAC__INCLUDED_
|
27 |
|
|
|
28 |
|
|
#if _MSC_VER > 1000
|
29 |
|
|
#pragma once
|
30 |
|
|
#endif // _MSC_VER > 1000
|
31 |
|
|
// eCosPropertyPage.h : header file
|
32 |
|
|
//
|
33 |
|
|
|
34 |
|
|
#ifdef PLUGIN
|
35 |
|
|
#include "ide.win32.h"
|
36 |
|
|
#include "ide.guicommon.h"
|
37 |
|
|
#else
|
38 |
|
|
#include "CSHPropertyPage.h"
|
39 |
|
|
#endif
|
40 |
|
|
|
41 |
|
|
#include "eCosDialog.h"
|
42 |
|
|
/////////////////////////////////////////////////////////////////////////////
|
43 |
|
|
// CeCosPropertyPage dialog
|
44 |
|
|
|
45 |
|
|
class CeCosPropertyPage : public CCSHPropertyPage
|
46 |
|
|
{
|
47 |
|
|
DECLARE_DYNCREATE(CeCosPropertyPage)
|
48 |
|
|
// Construction
|
49 |
|
|
public:
|
50 |
|
|
CeCosPropertyPage():CCSHPropertyPage(){};
|
51 |
|
|
CeCosPropertyPage(UINT nIDTemplate, UINT nIDCaption = 0 ):CCSHPropertyPage(nIDTemplate, nIDCaption){}
|
52 |
|
|
CeCosPropertyPage( LPCTSTR lpszTemplateName, UINT nIDCaption = 0 ):CCSHPropertyPage(lpszTemplateName, nIDCaption){}
|
53 |
|
|
|
54 |
|
|
// PropertyPage Data
|
55 |
|
|
//{{AFX_DATA(CeCosPropertyPage)
|
56 |
|
|
// NOTE: the ClassWizard will add data members here
|
57 |
|
|
//}}AFX_DATA
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
// Overrides
|
61 |
|
|
// ClassWizard generated virtual function overrides
|
62 |
|
|
//{{AFX_VIRTUAL(CeCosPropertyPage)
|
63 |
|
|
protected:
|
64 |
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
65 |
|
|
//}}AFX_VIRTUAL
|
66 |
|
|
|
67 |
|
|
// Implementation
|
68 |
|
|
protected:
|
69 |
|
|
virtual UINT HelpID (DWORD dwCtrlID) const;
|
70 |
|
|
virtual CString CSHFile() const;
|
71 |
|
|
void OnContextMenu(CWnd* pWnd, CPoint point);
|
72 |
|
|
BOOL OnHelpInfo(HELPINFO* pHelpInfo);
|
73 |
|
|
|
74 |
|
|
// Generated message map functions
|
75 |
|
|
//{{AFX_MSG(CeCosPropertyPage)
|
76 |
|
|
//}}AFX_MSG
|
77 |
|
|
DECLARE_MESSAGE_MAP()
|
78 |
|
|
};
|
79 |
|
|
|
80 |
|
|
//{{AFX_INSERT_LOCATION}}
|
81 |
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
82 |
|
|
|
83 |
|
|
#endif // !defined(AFX_ECOSPROPERTYPAGE_H__900AB3BE_8321_11D3_A534_00A0C949ADAC__INCLUDED_)
|