Mercurial > flash_v2
comparison host/tools/configtool/common/win32/SectionGeneralPage.h @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 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 //================================================================= | |
| 26 // | |
| 27 // SectionGeneralPage.h | |
| 28 // | |
| 29 // Memory Layout Tool section general property page interface | |
| 30 // | |
| 31 //================================================================= | |
| 32 //================================================================= | |
| 33 //#####DESCRIPTIONBEGIN#### | |
| 34 // | |
| 35 // Author(s): John Dallaway | |
| 36 // Contact(s): jld | |
| 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 // general section property selection | |
| 41 // See also: SectionGeneralPage.cpp | |
| 42 // Known bugs: <UPDATE_ME_AT_RELEASE_TIME> | |
| 43 // | |
| 44 //####DESCRIPTIONEND#### | |
| 45 | |
| 46 #if !defined(AFX_SECTIONGENERALPAGE_H__FA2F38F5_1FA8_11D2_BFBB_00A0C9554250__INCLUDED_) | |
| 47 #define AFX_SECTIONGENERALPAGE_H__FA2F38F5_1FA8_11D2_BFBB_00A0C9554250__INCLUDED_ | |
| 48 | |
| 49 #if _MSC_VER >= 1000 | |
| 50 #pragma once | |
| 51 #endif // _MSC_VER >= 1000 | |
| 52 // SectionGeneralPage.h : header file | |
| 53 // | |
| 54 | |
| 55 #include "resource.h" | |
| 56 #include "eCosPropertyPage.h" | |
| 57 | |
| 58 ///////////////////////////////////////////////////////////////////////////// | |
| 59 // CSectionGeneralPage dialog | |
| 60 | |
| 61 class CSectionGeneralPage : public CeCosPropertyPage | |
| 62 { | |
| 63 DECLARE_DYNCREATE(CSectionGeneralPage) | |
| 64 | |
| 65 // Construction | |
| 66 public: | |
| 67 CSectionGeneralPage(); | |
| 68 ~CSectionGeneralPage(); | |
| 69 bool m_bFinalAbsolute; // if final location is an absolute location (not a relative location) | |
| 70 bool m_bNameLinkerDefined; // if the section is linker-defined (not user-defined) | |
| 71 DWORD m_dwAlignment; // the section alignment | |
| 72 DWORD m_dwFinalAddress; // the final section address | |
| 73 DWORD m_dwSectionSize; // the section size (0 == unknown) | |
| 74 | |
| 75 // Dialog Data | |
| 76 //{{AFX_DATA(CSectionGeneralPage) | |
| 77 enum { IDD = IDD_SECTION_GENERAL }; | |
| 78 CComboBox m_cboAlignment; | |
| 79 CEdit m_edtNameUser; | |
| 80 CComboBox m_cboNameLinker; | |
| 81 CEdit m_edtFinalAddress; | |
| 82 CComboBox m_cboFinalRelativeName; | |
| 83 CButton m_btnSectionSizeKnown; | |
| 84 CEdit m_edtSectionSize; | |
| 85 CButton m_btnFinalRelative; | |
| 86 CButton m_btnFinalAbsolute; | |
| 87 CButton m_btnNameLinkerDefined; | |
| 88 CButton m_btnNameUserDefined; | |
| 89 CString m_strFinalRelativeName; | |
| 90 CString m_strNameUser; | |
| 91 CString m_strNameLinker; | |
| 92 int m_nAlignment; | |
| 93 CString m_strFinalAddress; | |
| 94 CString m_strSectionSize; | |
| 95 //}}AFX_DATA | |
| 96 | |
| 97 // Overrides | |
| 98 // ClassWizard generate virtual function overrides | |
| 99 //{{AFX_VIRTUAL(CSectionGeneralPage) | |
| 100 public: | |
| 101 virtual BOOL OnKillActive(); | |
| 102 virtual BOOL OnSetActive(); | |
| 103 protected: | |
| 104 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support | |
| 105 //}}AFX_VIRTUAL | |
| 106 | |
| 107 // Implementation | |
| 108 protected: | |
| 109 // Generated message map functions | |
| 110 //{{AFX_MSG(CSectionGeneralPage) | |
| 111 afx_msg void OnSectionSizeKnown(); | |
| 112 afx_msg void OnSectionGeneralFinalType(); | |
| 113 virtual BOOL OnInitDialog(); | |
| 114 afx_msg void OnSectionGeneralNameType(); | |
| 115 //}}AFX_MSG | |
| 116 DECLARE_MESSAGE_MAP() | |
| 117 | |
| 118 }; | |
| 119 | |
| 120 //{{AFX_INSERT_LOCATION}} | |
| 121 // Microsoft Developer Studio will insert additional declarations immediately before the previous line. | |
| 122 | |
| 123 #endif // !defined(AFX_SECTIONGENERALPAGE_H__FA2F38F5_1FA8_11D2_BFBB_00A0C9554250__INCLUDED_) |
