X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=tools%2Fsrc%2Ftools%2FUtils%2Fwin32%2FeCosPropertySheet.cpp;fp=tools%2Fsrc%2Ftools%2FUtils%2Fwin32%2FeCosPropertySheet.cpp;h=2570f089f8feba9643e48323e023d8f17d8c67b0;hb=2b5bec7716c03d42cfb16d8c98c9cea573bf6722;hp=0000000000000000000000000000000000000000;hpb=47412fc4bd1aefc0d5498bcb3860a9d727196f16;p=karo-tx-redboot.git diff --git a/tools/src/tools/Utils/win32/eCosPropertySheet.cpp b/tools/src/tools/Utils/win32/eCosPropertySheet.cpp new file mode 100644 index 00000000..2570f089 --- /dev/null +++ b/tools/src/tools/Utils/win32/eCosPropertySheet.cpp @@ -0,0 +1,76 @@ +//####COPYRIGHTBEGIN#### +// +// ---------------------------------------------------------------------------- +// Copyright (C) 1998, 1999, 2000 Red Hat, Inc. +// +// This program is part of the eCos host tools. +// +// This program is free software; you can redistribute it and/or modify it +// under the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or (at your option) +// any later version. +// +// This program is distributed in the hope that it will be useful, but WITHOUT +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +// more details. +// +// You should have received a copy of the GNU General Public License along with +// this program; if not, write to the Free Software Foundation, Inc., +// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// +// ---------------------------------------------------------------------------- +// +//####COPYRIGHTEND#### +// eCosPropertySheet.cpp : implementation file +// + +#include "stdafx.h" +#include "eCosPropertySheet.h" +#include "eCosDialog.h" + +#ifdef _DEBUG +#define new DEBUG_NEW +#undef THIS_FILE +static char THIS_FILE[] = __FILE__; +#endif + +///////////////////////////////////////////////////////////////////////////// +// CeCosPropertySheet dialog +IMPLEMENT_DYNCREATE(CeCosPropertySheet, CCSHPropertySheet) +/* +CeCosPropertySheet::CeCosPropertySheet(UINT id,CWnd* pParent ) + : CCSHPropertySheet(id, pParent) +{ + //{{AFX_DATA_INIT(CeCosPropertySheet) + // NOTE: the ClassWizard will add member initialization here + //}}AFX_DATA_INIT +} +*/ + +void CeCosPropertySheet::DoDataExchange(CDataExchange* pDX) +{ + CCSHPropertySheet::DoDataExchange(pDX); + //{{AFX_DATA_MAP(CeCosPropertySheet) + // NOTE: the ClassWizard will add DDX and DDV calls here + //}}AFX_DATA_MAP +} + + +BEGIN_MESSAGE_MAP(CeCosPropertySheet, CCSHPropertySheet) + //{{AFX_MSG_MAP(CeCosPropertySheet) + //}}AFX_MSG_MAP +END_MESSAGE_MAP() + +///////////////////////////////////////////////////////////////////////////// +// CeCosPropertySheet message handlers + +CString CeCosPropertySheet::CSHFile() const +{ + return CeCosDialog::CSHFile((UINT)GetDlgCtrlID()); +} + +UINT CeCosPropertySheet::HelpID (DWORD dwCtrlID) const +{ + return CeCosDialog::HelpID((int)GetDlgCtrlID(),dwCtrlID); +}