Code::Blocks
SVN r11506
src
debuggersettingsdlg.h
Go to the documentation of this file.
1
#ifndef DEBUGGERSETTINGSDLG_H
2
#define DEBUGGERSETTINGSDLG_H
3
4
#ifndef CB_PRECOMP
5
//(*HeadersPCH(DebuggerSettingsDlg)
6
#include <
wx/sizer.h
>
7
#include <
wx/panel.h
>
8
#include "
scrollingdialog.h
"
9
#include <
wx/stattext.h
>
10
//*)
11
12
#include <map>
13
#endif
14
//(*Headers(DebuggerSettingsDlg)
15
#include <
wx/statline.h
>
16
#include <
wx/treebook.h
>
17
//*)
18
19
class
cbDebuggerConfiguration
;
20
class
cbDebuggerPlugin
;
21
class
DebuggerSettingsCommonPanel
;
22
23
class
DebuggerSettingsDlg
:
public
wxScrollingDialog
24
{
25
public
:
26
27
DebuggerSettingsDlg
(
wxWindow
* parent);
28
virtual
~DebuggerSettingsDlg
();
29
30
bool
CreateConfig
(
wxWindow
*panel,
cbDebuggerPlugin
*plugin,
const
wxString
&name);
31
void
DeleteConfig
(
wxWindow
*panel,
cbDebuggerPlugin
*plugin);
32
void
ResetConfig
(
wxWindow
*panel,
cbDebuggerPlugin
*plugin);
33
34
private
:
35
//(*Handlers(DebuggerSettingsDlg)
36
void
OnPageChanged
(wxNotebookEvent& event);
37
//*)
38
39
void
OnOK
(
wxCommandEvent
&event);
40
41
private
:
42
//(*Declarations(DebuggerSettingsDlg)
43
wxTreebook
*
m_treebook
;
44
wxStaticText
*
m_activeInfo
;
45
//*)
46
47
//(*Identifiers(DebuggerSettingsDlg)
48
static
const
long
ID_LABEL_ACTIVE_INFO
;
49
static
const
long
ID_TREEBOOK
;
50
//*)
51
52
private
:
53
struct
Config
54
{
55
cbDebuggerPlugin
*
plugin
;
56
cbDebuggerConfiguration
*
config
;
57
wxString
pluginGUIName
;
58
};
59
60
typedef
std::map<wxWindow*, Config>
MapPanelToConfiguration
;
61
62
MapPanelToConfiguration
m_mapPanelToConfig
;
63
DebuggerSettingsCommonPanel
*
m_commonPanel
;
64
private
:
65
DECLARE_EVENT_TABLE()
66
};
67
68
#endif
DebuggerSettingsDlg::m_mapPanelToConfig
MapPanelToConfiguration m_mapPanelToConfig
Definition:
debuggersettingsdlg.h:62
DebuggerSettingsDlg::Config::config
cbDebuggerConfiguration * config
Definition:
debuggersettingsdlg.h:56
cbDebuggerConfiguration
Definition:
debuggermanager.h:157
DebuggerSettingsDlg::ID_LABEL_ACTIVE_INFO
static const long ID_LABEL_ACTIVE_INFO
Definition:
debuggersettingsdlg.h:48
DebuggerSettingsDlg::MapPanelToConfiguration
std::map< wxWindow *, Config > MapPanelToConfiguration
Definition:
debuggersettingsdlg.h:60
cbDebuggerPlugin
Base class for debugger plugins.
Definition:
cbplugin.h:397
statline.h
DebuggerSettingsDlg::~DebuggerSettingsDlg
virtual ~DebuggerSettingsDlg()
Definition:
debuggersettingsdlg.cpp:107
DebuggerSettingsDlg::OnOK
void OnOK(wxCommandEvent &event)
Definition:
debuggersettingsdlg.cpp:117
DebuggerSettingsDlg
Definition:
debuggersettingsdlg.h:23
DebuggerSettingsDlg::ID_TREEBOOK
static const long ID_TREEBOOK
Definition:
debuggersettingsdlg.h:49
wxScrollingDialog
Definition:
scrollingdialog.h:163
scrollingdialog.h
DebuggerSettingsDlg::OnPageChanged
void OnPageChanged(wxNotebookEvent &event)
Definition:
debuggersettingsdlg.cpp:287
wxCommandEvent
DebuggerSettingsDlg::DeleteConfig
void DeleteConfig(wxWindow *panel, cbDebuggerPlugin *plugin)
Definition:
debuggersettingsdlg.cpp:217
DebuggerSettingsDlg::m_commonPanel
DebuggerSettingsCommonPanel * m_commonPanel
Definition:
debuggersettingsdlg.h:63
wxString
treebook.h
DebuggerSettingsCommonPanel
Definition:
debuggersettingscommonpanel.h:17
DebuggerSettingsDlg::m_activeInfo
wxStaticText * m_activeInfo
Definition:
debuggersettingsdlg.h:44
DebuggerSettingsDlg::Config
Definition:
debuggersettingsdlg.h:53
DebuggerSettingsDlg::DebuggerSettingsDlg
DebuggerSettingsDlg(wxWindow *parent)
Definition:
debuggersettingsdlg.cpp:35
DebuggerSettingsDlg::Config::pluginGUIName
wxString pluginGUIName
Definition:
debuggersettingsdlg.h:57
sizer.h
wxTreebook
wxStaticText
DebuggerSettingsDlg::Config::plugin
cbDebuggerPlugin * plugin
Definition:
debuggersettingsdlg.h:55
stattext.h
DebuggerSettingsDlg::CreateConfig
bool CreateConfig(wxWindow *panel, cbDebuggerPlugin *plugin, const wxString &name)
Definition:
debuggersettingsdlg.cpp:189
wxWindow
panel.h
DebuggerSettingsDlg::ResetConfig
void ResetConfig(wxWindow *panel, cbDebuggerPlugin *plugin)
Definition:
debuggersettingsdlg.cpp:263
DebuggerSettingsDlg::m_treebook
wxTreebook * m_treebook
Definition:
debuggersettingsdlg.h:43
Generated by
1.8.13