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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [common/] [win32/] [SectionRelocationPage.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
//        SectionRelocationPage.h
25
//
26
//        Memory Layout Tool section relocation 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
//                relocation section property selection
38
// See also:      SectionRelocationPage.cpp
39
// Known bugs:    <UPDATE_ME_AT_RELEASE_TIME>
40
//
41
//####DESCRIPTIONEND####
42
 
43
#if !defined(AFX_SECTIONRELOCATIONPAGE_H__FA2F38F6_1FA8_11D2_BFBB_00A0C9554250__INCLUDED_)
44
#define AFX_SECTIONRELOCATIONPAGE_H__FA2F38F6_1FA8_11D2_BFBB_00A0C9554250__INCLUDED_
45
 
46
#if _MSC_VER >= 1000
47
#pragma once
48
#endif // _MSC_VER >= 1000
49
// SectionRelocationPage.h : header file
50
//
51
 
52
#include "resource.h"
53
#include "eCosPropertyPage.h"
54
 
55
/////////////////////////////////////////////////////////////////////////////
56
// CSectionRelocationPage dialog
57
 
58
class CSectionRelocationPage : public CeCosPropertyPage
59
{
60
        DECLARE_DYNCREATE(CSectionRelocationPage)
61
 
62
// Construction
63
public:
64
        CSectionRelocationPage();
65
        ~CSectionRelocationPage();
66
    BOOL m_bInitialAbsolute; // if initial location is an absolute location (not a relative location)
67
    DWORD m_dwInitialAddress;
68
    BOOL m_bNewSection;
69
 
70
// Dialog Data
71
        //{{AFX_DATA(CSectionRelocationPage)
72
        enum { IDD = IDD_SECTION_RELOCATION };
73
        CButton m_btnRelocates;
74
        CButton m_btnInitialRelative;
75
        CButton m_btnInitialAbsolute;
76
        CEdit   m_edtInitialAddress;
77
        CComboBox       m_cboInitialRelativeName;
78
        BOOL    m_bRelocates;
79
        CString m_strInitialRelativeName;
80
        CString m_strInitialAddress;
81
        //}}AFX_DATA
82
 
83
 
84
// Overrides
85
        // ClassWizard generate virtual function overrides
86
        //{{AFX_VIRTUAL(CSectionRelocationPage)
87
        public:
88
        virtual BOOL OnKillActive();
89
        virtual BOOL OnSetActive();
90
        protected:
91
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
92
        //}}AFX_VIRTUAL
93
 
94
// Implementation
95
protected:
96
        // Generated message map functions
97
        //{{AFX_MSG(CSectionRelocationPage)
98
        afx_msg void OnSectionRelocationRelocates();
99
        afx_msg void OnSectionRelocationInitialType();
100
        virtual BOOL OnInitDialog();
101
        //}}AFX_MSG
102
        DECLARE_MESSAGE_MAP()
103
 
104
};
105
 
106
//{{AFX_INSERT_LOCATION}}
107
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
108
 
109
#endif // !defined(AFX_SECTIONRELOCATIONPAGE_H__FA2F38F6_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.