1 //####COPYRIGHTBEGIN####
3 // ----------------------------------------------------------------------------
4 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
6 // This program is part of the eCos host tools.
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)
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
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.
22 // ----------------------------------------------------------------------------
24 //####COPYRIGHTEND####
25 //=================================================================
27 // SectionRelocationPage.h
29 // Memory Layout Tool section relocation property page interface
31 //=================================================================
32 //=================================================================
33 //#####DESCRIPTIONBEGIN####
35 // Author(s): John Dallaway
37 // Date: 1998/07/29 $RcsDate$ {or whatever}
38 // Version: 0.00+ $RcsVersion$ {or whatever}
39 // Purpose: Provides a derivation of the MFC CeCosPropertyPage class for
40 // relocation section property selection
41 // See also: SectionRelocationPage.cpp
42 // Known bugs: <UPDATE_ME_AT_RELEASE_TIME>
44 //####DESCRIPTIONEND####
46 #if !defined(AFX_SECTIONRELOCATIONPAGE_H__FA2F38F6_1FA8_11D2_BFBB_00A0C9554250__INCLUDED_)
47 #define AFX_SECTIONRELOCATIONPAGE_H__FA2F38F6_1FA8_11D2_BFBB_00A0C9554250__INCLUDED_
51 #endif // _MSC_VER >= 1000
52 // SectionRelocationPage.h : header file
56 #include "eCosPropertyPage.h"
58 /////////////////////////////////////////////////////////////////////////////
59 // CSectionRelocationPage dialog
61 class CSectionRelocationPage : public CeCosPropertyPage
63 DECLARE_DYNCREATE(CSectionRelocationPage)
67 CSectionRelocationPage();
68 ~CSectionRelocationPage();
69 BOOL m_bInitialAbsolute; // if initial location is an absolute location (not a relative location)
70 DWORD m_dwInitialAddress;
74 //{{AFX_DATA(CSectionRelocationPage)
75 enum { IDD = IDD_SECTION_RELOCATION };
76 CButton m_btnRelocates;
77 CButton m_btnInitialRelative;
78 CButton m_btnInitialAbsolute;
79 CEdit m_edtInitialAddress;
80 CComboBox m_cboInitialRelativeName;
82 CString m_strInitialRelativeName;
83 CString m_strInitialAddress;
88 // ClassWizard generate virtual function overrides
89 //{{AFX_VIRTUAL(CSectionRelocationPage)
91 virtual BOOL OnKillActive();
92 virtual BOOL OnSetActive();
94 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
99 // Generated message map functions
100 //{{AFX_MSG(CSectionRelocationPage)
101 afx_msg void OnSectionRelocationRelocates();
102 afx_msg void OnSectionRelocationInitialType();
103 virtual BOOL OnInitDialog();
105 DECLARE_MESSAGE_MAP()
109 //{{AFX_INSERT_LOCATION}}
110 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
112 #endif // !defined(AFX_SECTIONRELOCATIONPAGE_H__FA2F38F6_1FA8_11D2_BFBB_00A0C9554250__INCLUDED_)