| 1 |
1254 |
phoenix |
//####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 |
|
|
// eCosPropertyPage.cpp : implementation file
|
| 26 |
|
|
//
|
| 27 |
|
|
|
| 28 |
|
|
#include "stdafx.h"
|
| 29 |
|
|
#include "eCosPropertyPage.h"
|
| 30 |
|
|
|
| 31 |
|
|
#ifdef _DEBUG
|
| 32 |
|
|
#define new DEBUG_NEW
|
| 33 |
|
|
#undef THIS_FILE
|
| 34 |
|
|
static char THIS_FILE[] = __FILE__;
|
| 35 |
|
|
#endif
|
| 36 |
|
|
|
| 37 |
|
|
/////////////////////////////////////////////////////////////////////////////
|
| 38 |
|
|
// CeCosPropertyPage dialog
|
| 39 |
|
|
IMPLEMENT_DYNCREATE(CeCosPropertyPage, CCSHPropertyPage)
|
| 40 |
|
|
/*
|
| 41 |
|
|
CeCosPropertyPage::CeCosPropertyPage(UINT id,CWnd* pParent )
|
| 42 |
|
|
: CCSHPropertyPage(id, pParent)
|
| 43 |
|
|
{
|
| 44 |
|
|
//{{AFX_DATA_INIT(CeCosPropertyPage)
|
| 45 |
|
|
// NOTE: the ClassWizard will add member initialization here
|
| 46 |
|
|
//}}AFX_DATA_INIT
|
| 47 |
|
|
}
|
| 48 |
|
|
*/
|
| 49 |
|
|
|
| 50 |
|
|
void CeCosPropertyPage::DoDataExchange(CDataExchange* pDX)
|
| 51 |
|
|
{
|
| 52 |
|
|
CCSHPropertyPage::DoDataExchange(pDX);
|
| 53 |
|
|
//{{AFX_DATA_MAP(CeCosPropertyPage)
|
| 54 |
|
|
// NOTE: the ClassWizard will add DDX and DDV calls here
|
| 55 |
|
|
//}}AFX_DATA_MAP
|
| 56 |
|
|
}
|
| 57 |
|
|
|
| 58 |
|
|
|
| 59 |
|
|
BEGIN_MESSAGE_MAP(CeCosPropertyPage, CCSHPropertyPage)
|
| 60 |
|
|
//{{AFX_MSG_MAP(CeCosPropertyPage)
|
| 61 |
|
|
//}}AFX_MSG_MAP
|
| 62 |
|
|
END_MESSAGE_MAP()
|
| 63 |
|
|
|
| 64 |
|
|
/////////////////////////////////////////////////////////////////////////////
|
| 65 |
|
|
// CeCosPropertyPage message handlers
|
| 66 |
|
|
|
| 67 |
|
|
CString CeCosPropertyPage::CSHFile() const
|
| 68 |
|
|
{
|
| 69 |
|
|
return CeCosDialog::CSHFile((UINT)m_lpszTemplateName);
|
| 70 |
|
|
}
|
| 71 |
|
|
|
| 72 |
|
|
UINT CeCosPropertyPage::HelpID (DWORD dwCtrlID) const
|
| 73 |
|
|
{
|
| 74 |
|
|
return CeCosDialog::HelpID((int)m_lpszTemplateName,dwCtrlID);
|
| 75 |
|
|
}
|