OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [common/] [win32/] [SectionGeneralPage.h] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
// ####ECOSHOSTGPLCOPYRIGHTBEGIN####                                        
2
// -------------------------------------------                              
3
// This file is part of the eCos host tools.                                
4
// Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.            
5
//
6
// This program is free software; you can redistribute it and/or modify     
7
// it under the terms of the GNU General Public License as published by     
8
// the Free Software Foundation; either version 2 or (at your option) any   
9
// later version.                                                           
10
//
11
// This program is distributed in the hope that it will be useful, but      
12
// WITHOUT ANY WARRANTY; without even the implied warranty of               
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU        
14
// General Public License for more details.                                 
15
//
16
// You should have received a copy of the GNU General Public License        
17
// along with this program; if not, write to the                            
18
// Free Software Foundation, Inc., 51 Franklin Street,                      
19
// Fifth Floor, Boston, MA  02110-1301, USA.                                
20
// -------------------------------------------                              
21
// ####ECOSHOSTGPLCOPYRIGHTEND####                                          
22
//=================================================================
23
//
24
//        SectionGeneralPage.h
25
//
26
//        Memory Layout Tool section general property page interface
27
//
28
//=================================================================
29
//=================================================================
30
//#####DESCRIPTIONBEGIN####
31
//
32
// Author(s):     John Dallaway
33
// Contact(s):    jld
34
// Date:          1998/07/29 $RcsDate$ {or whatever}
35
// Version:       0.00+  $RcsVersion$ {or whatever}
36
// Purpose:       Provides a derivation of the MFC CeCosPropertyPage class for
37
//                general section property selection
38
// See also:      SectionGeneralPage.cpp
39
// Known bugs:    <UPDATE_ME_AT_RELEASE_TIME>
40
//
41
//####DESCRIPTIONEND####
42
 
43
#if !defined(AFX_SECTIONGENERALPAGE_H__FA2F38F5_1FA8_11D2_BFBB_00A0C9554250__INCLUDED_)
44
#define AFX_SECTIONGENERALPAGE_H__FA2F38F5_1FA8_11D2_BFBB_00A0C9554250__INCLUDED_
45
 
46
#if _MSC_VER >= 1000
47
#pragma once
48
#endif // _MSC_VER >= 1000
49
// SectionGeneralPage.h : header file
50
//
51
 
52
#include "resource.h"
53
#include "eCosPropertyPage.h"
54
 
55
/////////////////////////////////////////////////////////////////////////////
56
// CSectionGeneralPage dialog
57
 
58
class CSectionGeneralPage : public CeCosPropertyPage
59
{
60
        DECLARE_DYNCREATE(CSectionGeneralPage)
61
 
62
// Construction
63
public:
64
        CSectionGeneralPage();
65
        ~CSectionGeneralPage();
66
    bool m_bFinalAbsolute; // if final location is an absolute location (not a relative location)
67
    bool m_bNameLinkerDefined; // if the section is linker-defined (not user-defined)
68
    DWORD m_dwAlignment; // the section alignment
69
    DWORD m_dwFinalAddress; // the final section address 
70
    DWORD m_dwSectionSize; // the section size (0 == unknown)
71
 
72
// Dialog Data
73
        //{{AFX_DATA(CSectionGeneralPage)
74
        enum { IDD = IDD_SECTION_GENERAL };
75
        CComboBox       m_cboAlignment;
76
        CEdit   m_edtNameUser;
77
        CComboBox       m_cboNameLinker;
78
        CEdit   m_edtFinalAddress;
79
        CComboBox       m_cboFinalRelativeName;
80
        CButton m_btnSectionSizeKnown;
81
        CEdit   m_edtSectionSize;
82
        CButton m_btnFinalRelative;
83
        CButton m_btnFinalAbsolute;
84
        CButton m_btnNameLinkerDefined;
85
        CButton m_btnNameUserDefined;
86
        CString m_strFinalRelativeName;
87
        CString m_strNameUser;
88
        CString m_strNameLinker;
89
        int             m_nAlignment;
90
        CString m_strFinalAddress;
91
        CString m_strSectionSize;
92
        //}}AFX_DATA
93
 
94
// Overrides
95
        // ClassWizard generate virtual function overrides
96
        //{{AFX_VIRTUAL(CSectionGeneralPage)
97
        public:
98
        virtual BOOL OnKillActive();
99
        virtual BOOL OnSetActive();
100
        protected:
101
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
102
        //}}AFX_VIRTUAL
103
 
104
// Implementation
105
protected:
106
        // Generated message map functions
107
        //{{AFX_MSG(CSectionGeneralPage)
108
        afx_msg void OnSectionSizeKnown();
109
        afx_msg void OnSectionGeneralFinalType();
110
        virtual BOOL OnInitDialog();
111
        afx_msg void OnSectionGeneralNameType();
112
        //}}AFX_MSG
113
        DECLARE_MESSAGE_MAP()
114
 
115
};
116
 
117
//{{AFX_INSERT_LOCATION}}
118
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
119
 
120
#endif // !defined(AFX_SECTIONGENERALPAGE_H__FA2F38F5_1FA8_11D2_BFBB_00A0C9554250__INCLUDED_)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.