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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [host/] [tools/] [configtool/] [standalone/] [wxwin/] [sectiondlg.h] - Blame information for rev 817

Go to most recent revision | 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
// sectiondlg.h.cpp :
23
//
24
//===========================================================================
25
//#####DESCRIPTIONBEGIN####
26
//
27
// Author(s):   julians
28
// Contact(s):  julians
29
// Date:        2000/09/27
30
// Version:     $Id: sectiondlg.h,v 1.1 2001/02/08 18:06:52 julians Exp $
31
// Purpose:
32
// Description: Header file for ecSectionDialog
33
// Requires:
34
// Provides:
35
// See also:
36
// Known bugs:
37
// Usage:
38
//
39
//####DESCRIPTIONEND####
40
//
41
//===========================================================================
42
 
43
#ifndef _ECOS_SECTIONDLG_H_
44
#define _ECOS_SECTIONDLG_H_
45
 
46
#ifdef __GNUG__
47
    #pragma interface "sectiondlg.cpp"
48
#endif
49
 
50
#include "wx/notebook.h"
51
 
52
//----------------------------------------------------------------------------
53
// ecSectionDialog
54
//----------------------------------------------------------------------------
55
 
56
class ecSectionGeneralDialog;
57
class ecSectionRelocationDialog;
58
class ecSectionNoteDialog;
59
 
60
class ecSectionDialog: public wxDialog
61
{
62
DECLARE_CLASS(ecSectionDialog)
63
public:
64
    ecSectionDialog(wxWindow* parent);
65
 
66
    void OnOK(wxCommandEvent& event);
67
    void OnCancel(wxCommandEvent& event);
68
    void OnHelp(wxCommandEvent& event);
69
    void OnApply(wxCommandEvent& event);
70
    void OnPageChange(wxNotebookEvent& event);
71
 
72
    virtual bool TransferDataToWindow();
73
    virtual bool TransferDataFromWindow();
74
 
75
    inline wxNotebook* GetNotebook() const { return m_notebook; }
76
 
77
protected:
78
 
79
    ecSectionGeneralDialog*             m_general;
80
    ecSectionRelocationDialog*          m_relocation;
81
    ecSectionNoteDialog*                m_note;
82
    wxNotebook*                         m_notebook;
83
 
84
DECLARE_EVENT_TABLE()
85
};
86
 
87
/* General page
88
 */
89
 
90
class ecSectionGeneralDialog: public wxPanel
91
{
92
DECLARE_CLASS(ecSectionGeneralDialog)
93
public:
94
    ecSectionGeneralDialog(wxWindow* parent);
95
 
96
    void CreateControls( wxPanel *parent);
97
 
98
    virtual bool TransferDataToWindow();
99
    virtual bool TransferDataFromWindow();
100
};
101
 
102
#define ecID_SECTION_GENERAL_LINKER 10037
103
#define ecID_SECTION_GENERAL_USER 10038
104
#define ecID_SECTION_GENERAL_LINKER_TEXT 10039
105
#define ecID_SECTION_GENERAL_USER_TEXT 10040
106
#define ecID_SECTION_GENERAL_KNOWN_SIZE 10041
107
#define ecID_SECTION_GENERAL_KNOWN_SIZE_CHOICE 10042
108
#define ecID_SECTION_GENERAL_ABSOLUTE 10043
109
#define ecID_SECTION_GENERAL_FOLLOWING 10044
110
#define ecID_SECTION_GENERAL_ABSOLUTE_TEXT 10045
111
#define ecID_SECTION_GENERAL_FOLLOWING_TEXT 10046
112
#define ecID_SECTION_GENERAL_ALIGNMENT 10047
113
 
114
/* Relocation page
115
 */
116
 
117
class ecSectionRelocationDialog: public wxPanel
118
{
119
DECLARE_CLASS(ecSectionRelocationDialog)
120
public:
121
    ecSectionRelocationDialog(wxWindow* parent);
122
 
123
    void CreateControls( wxPanel *parent);
124
 
125
    virtual bool TransferDataToWindow();
126
    virtual bool TransferDataFromWindow();
127
};
128
 
129
#define ecID_SECTION_RELOCATION_RELOCATE 10048
130
#define ecID_SECTION_RELOCATION_ABSOLUTE 10049
131
#define ecID_SECTION_RELOCATION_ABSOLUTE_TEXT 10050
132
#define ecID_SECTION_RELOCATION_FOLLOWING 10051
133
#define ecID_SECTION_RELOCATION_FOLLOWING_CHOICE 10052
134
 
135
/* Note page
136
 */
137
 
138
class ecSectionNoteDialog: public wxPanel
139
{
140
DECLARE_CLASS(ecSectionNoteDialog)
141
public:
142
    ecSectionNoteDialog(wxWindow* parent);
143
 
144
    void CreateControls( wxPanel *parent);
145
 
146
    virtual bool TransferDataToWindow();
147
    virtual bool TransferDataFromWindow();
148
};
149
 
150
#define ecID_SECTION_NOTE_TEXT 10053
151
 
152
#endif
153
    // _ECOS_SECTIONDLG_H_

powered by: WebSVN 2.1.0

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