Code::Blocks  SVN r11506
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 
20 class cbDebuggerPlugin;
22 
24 {
25  public:
26 
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)
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  {
58  };
59 
60  typedef std::map<wxWindow*, Config> MapPanelToConfiguration;
61 
62  MapPanelToConfiguration m_mapPanelToConfig;
64  private:
65  DECLARE_EVENT_TABLE()
66 };
67 
68 #endif
MapPanelToConfiguration m_mapPanelToConfig
cbDebuggerConfiguration * config
static const long ID_LABEL_ACTIVE_INFO
std::map< wxWindow *, Config > MapPanelToConfiguration
Base class for debugger plugins.
Definition: cbplugin.h:397
void OnOK(wxCommandEvent &event)
static const long ID_TREEBOOK
void OnPageChanged(wxNotebookEvent &event)
void DeleteConfig(wxWindow *panel, cbDebuggerPlugin *plugin)
DebuggerSettingsCommonPanel * m_commonPanel
wxStaticText * m_activeInfo
DebuggerSettingsDlg(wxWindow *parent)
bool CreateConfig(wxWindow *panel, cbDebuggerPlugin *plugin, const wxString &name)
void ResetConfig(wxWindow *panel, cbDebuggerPlugin *plugin)