Code::Blocks
SVN r11506
|
#include <debuggeroptionsprjdlg.h>
Public Member Functions | |
DebuggerOptionsProjectDlg (wxWindow *parent, DebuggerGDB *debugger, cbProject *project) | |
virtual | ~DebuggerOptionsProjectDlg () |
virtual wxString | GetTitle () const |
virtual wxString | GetBitmapBaseName () const |
virtual void | OnApply () |
Called when the user chooses to apply the configuration. More... | |
virtual void | OnCancel () |
Called when the user chooses to cancel the configuration. More... | |
Public Member Functions inherited from cbConfigurationPanel | |
cbConfigurationPanel () | |
~cbConfigurationPanel () override | |
void | SetParentDialog (wxWindow *dialog) |
Sets the panel's parent dialog. More... | |
wxWindow * | SetParentDialog () |
Gets the panel's parent dialog. More... | |
int | cbMessageBox (const wxString &message, const wxString &caption=wxEmptyString, int style=wxOK, wxWindow *parent=NULL, int x=-1, int y=-1) |
Call global cbMessageBox with m_parentDialog as parent window when no parent window specified. More... | |
Protected Member Functions | |
void | OnTargetSel (wxCommandEvent &event) |
void | OnAdd (wxCommandEvent &event) |
void | OnEdit (wxCommandEvent &event) |
void | OnDelete (wxCommandEvent &event) |
void | OnUpdateUI (wxUpdateUIEvent &event) |
Private Member Functions | |
void | OnBuildTargetRemoved (CodeBlocksEvent &event) |
void | OnBuildTargetAdded (CodeBlocksEvent &event) |
void | OnBuildTargetRenamed (CodeBlocksEvent &event) |
void | LoadCurrentRemoteDebuggingRecord () |
void | SaveCurrentRemoteDebuggingRecord () |
Private Attributes | |
DebuggerGDB * | m_pDBG |
cbProject * | m_pProject |
wxArrayString | m_OldPaths |
RemoteDebuggingMap | m_CurrentRemoteDebugging |
int | m_LastTargetSel |
Definition at line 20 of file debuggeroptionsprjdlg.h.
DebuggerOptionsProjectDlg::DebuggerOptionsProjectDlg | ( | wxWindow * | parent, |
DebuggerGDB * | debugger, | ||
cbProject * | project | ||
) |
Definition at line 33 of file debuggeroptionsprjdlg.cpp.
References _(), _T, cbEVT_BUILDTARGET_ADDED, cbEVT_BUILDTARGET_REMOVED, cbEVT_BUILDTARGET_RENAMED, wxXmlResource::Get(), Manager::Get(), OnBuildTargetAdded(), OnBuildTargetRemoved(), OnBuildTargetRenamed(), and Manager::RegisterEventSink().
|
virtual |
Definition at line 66 of file debuggeroptionsprjdlg.cpp.
References Manager::Get(), and Manager::RemoveAllEventSinksFor().
|
inlinevirtual |
Implements cbConfigurationPanel.
Definition at line 27 of file debuggeroptionsprjdlg.h.
|
inlinevirtual |
Implements cbConfigurationPanel.
Definition at line 26 of file debuggeroptionsprjdlg.h.
References _().
|
private |
Definition at line 160 of file debuggeroptionsprjdlg.cpp.
References RemoteDebugging::additionalCmds, RemoteDebugging::additionalCmdsBefore, RemoteDebugging::additionalShellCmdsAfter, RemoteDebugging::additionalShellCmdsBefore, RemoteDebugging::connType, RemoteDebugging::extendedRemote, cbProject::GetBuildTarget(), RemoteDebugging::ip, RemoteDebugging::ipPort, m_CurrentRemoteDebugging, m_LastTargetSel, m_pProject, RemoteDebugging::serialBaud, RemoteDebugging::serialPort, RemoteDebugging::skipLDpath, and wxEmptyString.
Referenced by OnBuildTargetAdded(), OnBuildTargetRemoved(), OnBuildTargetRenamed(), OnCancel(), and OnTargetSel().
|
protected |
Definition at line 232 of file debuggeroptionsprjdlg.cpp.
References _(), _T, CompileTargetBase::GetBasePath(), m_pProject, PlaceWindow(), and wxID_OK.
Referenced by OnCancel().
|
virtual |
Called when the user chooses to apply the configuration.
Implements cbConfigurationPanel.
Definition at line 302 of file debuggeroptionsprjdlg.cpp.
References wxArrayString::Add(), wxArrayString::Clear(), DebuggerGDB::GetRemoteDebuggingMap(), DebuggerGDB::GetSearchDirs(), m_CurrentRemoteDebugging, m_OldPaths, m_pDBG, m_pProject, and SaveCurrentRemoteDebuggingRecord().
Referenced by GetBitmapBaseName().
|
private |
Definition at line 97 of file debuggeroptionsprjdlg.cpp.
References cbProject::GetBuildTarget(), wxString::IsEmpty(), LoadCurrentRemoteDebuggingRecord(), m_CurrentRemoteDebugging, m_pProject, and wxNOT_FOUND.
Referenced by DebuggerOptionsProjectDlg(), and OnCancel().
|
private |
Definition at line 71 of file debuggeroptionsprjdlg.cpp.
References cbProject::GetBuildTarget(), LoadCurrentRemoteDebuggingRecord(), m_CurrentRemoteDebugging, and m_pProject.
Referenced by DebuggerOptionsProjectDlg(), and OnCancel().
|
private |
Definition at line 130 of file debuggeroptionsprjdlg.cpp.
References LoadCurrentRemoteDebuggingRecord(), m_CurrentRemoteDebugging, m_pProject, and wxNOT_FOUND.
Referenced by DebuggerOptionsProjectDlg(), and OnCancel().
|
inlinevirtual |
Called when the user chooses to cancel the configuration.
Implements cbConfigurationPanel.
Definition at line 29 of file debuggeroptionsprjdlg.h.
References LoadCurrentRemoteDebuggingRecord(), OnAdd(), OnBuildTargetAdded(), OnBuildTargetRemoved(), OnBuildTargetRenamed(), OnDelete(), OnEdit(), OnTargetSel(), OnUpdateUI(), and SaveCurrentRemoteDebuggingRecord().
|
protected |
Definition at line 269 of file debuggeroptionsprjdlg.cpp.
Referenced by OnCancel().
|
protected |
Definition at line 249 of file debuggeroptionsprjdlg.cpp.
References _(), _T, CompileTargetBase::GetBasePath(), m_pProject, PlaceWindow(), and wxID_OK.
Referenced by OnCancel().
|
protected |
Definition at line 225 of file debuggeroptionsprjdlg.cpp.
References LoadCurrentRemoteDebuggingRecord(), and SaveCurrentRemoteDebuggingRecord().
Referenced by OnCancel().
|
protected |
Definition at line 279 of file debuggeroptionsprjdlg.cpp.
References wxNOT_FOUND.
Referenced by OnCancel().
|
private |
Definition at line 197 of file debuggeroptionsprjdlg.cpp.
References RemoteDebugging::additionalCmds, RemoteDebugging::additionalCmdsBefore, RemoteDebugging::additionalShellCmdsAfter, RemoteDebugging::additionalShellCmdsBefore, RemoteDebugging::connType, RemoteDebugging::extendedRemote, cbProject::GetBuildTarget(), RemoteDebugging::ip, RemoteDebugging::ipPort, m_CurrentRemoteDebugging, m_LastTargetSel, m_pProject, RemoteDebugging::serialBaud, RemoteDebugging::serialPort, and RemoteDebugging::skipLDpath.
Referenced by OnApply(), OnCancel(), and OnTargetSel().
|
private |
Definition at line 46 of file debuggeroptionsprjdlg.h.
Referenced by LoadCurrentRemoteDebuggingRecord(), OnApply(), OnBuildTargetAdded(), OnBuildTargetRemoved(), OnBuildTargetRenamed(), and SaveCurrentRemoteDebuggingRecord().
|
private |
Definition at line 47 of file debuggeroptionsprjdlg.h.
Referenced by LoadCurrentRemoteDebuggingRecord(), and SaveCurrentRemoteDebuggingRecord().
|
private |
Definition at line 45 of file debuggeroptionsprjdlg.h.
Referenced by OnApply().
|
private |
Definition at line 43 of file debuggeroptionsprjdlg.h.
Referenced by OnApply().
|
private |
Definition at line 44 of file debuggeroptionsprjdlg.h.
Referenced by LoadCurrentRemoteDebuggingRecord(), OnAdd(), OnApply(), OnBuildTargetAdded(), OnBuildTargetRemoved(), OnBuildTargetRenamed(), OnEdit(), and SaveCurrentRemoteDebuggingRecord().