Code::Blocks  SVN r11506
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
DebuggerOptionsProjectDlg Class Reference

#include <debuggeroptionsprjdlg.h>

Inheritance diagram for DebuggerOptionsProjectDlg:
Collaboration diagram for DebuggerOptionsProjectDlg:

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...
 
wxWindowSetParentDialog ()
 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

DebuggerGDBm_pDBG
 
cbProjectm_pProject
 
wxArrayString m_OldPaths
 
RemoteDebuggingMap m_CurrentRemoteDebugging
 
int m_LastTargetSel
 

Detailed Description

Definition at line 20 of file debuggeroptionsprjdlg.h.

Constructor & Destructor Documentation

◆ DebuggerOptionsProjectDlg()

DebuggerOptionsProjectDlg::DebuggerOptionsProjectDlg ( wxWindow parent,
DebuggerGDB debugger,
cbProject project 
)

◆ ~DebuggerOptionsProjectDlg()

DebuggerOptionsProjectDlg::~DebuggerOptionsProjectDlg ( )
virtual

Definition at line 66 of file debuggeroptionsprjdlg.cpp.

References Manager::Get(), and Manager::RemoveAllEventSinksFor().

Member Function Documentation

◆ GetBitmapBaseName()

virtual wxString DebuggerOptionsProjectDlg::GetBitmapBaseName ( ) const
inlinevirtual
Returns
the panel's bitmap base name. You must supply two bitmaps: <basename>.png and <basename>-off.png...

Implements cbConfigurationPanel.

Definition at line 27 of file debuggeroptionsprjdlg.h.

References _T, and OnApply().

◆ GetTitle()

virtual wxString DebuggerOptionsProjectDlg::GetTitle ( ) const
inlinevirtual
Returns
the panel's title.

Implements cbConfigurationPanel.

Definition at line 26 of file debuggeroptionsprjdlg.h.

References _().

◆ LoadCurrentRemoteDebuggingRecord()

void DebuggerOptionsProjectDlg::LoadCurrentRemoteDebuggingRecord ( )
private

◆ OnAdd()

void DebuggerOptionsProjectDlg::OnAdd ( wxCommandEvent event)
protected

Definition at line 232 of file debuggeroptionsprjdlg.cpp.

References _(), _T, CompileTargetBase::GetBasePath(), m_pProject, PlaceWindow(), and wxID_OK.

Referenced by OnCancel().

◆ OnApply()

void DebuggerOptionsProjectDlg::OnApply ( )
virtual

◆ OnBuildTargetAdded()

void DebuggerOptionsProjectDlg::OnBuildTargetAdded ( CodeBlocksEvent event)
private

◆ OnBuildTargetRemoved()

void DebuggerOptionsProjectDlg::OnBuildTargetRemoved ( CodeBlocksEvent event)
private

◆ OnBuildTargetRenamed()

void DebuggerOptionsProjectDlg::OnBuildTargetRenamed ( CodeBlocksEvent event)
private

◆ OnCancel()

virtual void DebuggerOptionsProjectDlg::OnCancel ( )
inlinevirtual

◆ OnDelete()

void DebuggerOptionsProjectDlg::OnDelete ( wxCommandEvent event)
protected

Definition at line 269 of file debuggeroptionsprjdlg.cpp.

Referenced by OnCancel().

◆ OnEdit()

void DebuggerOptionsProjectDlg::OnEdit ( wxCommandEvent event)
protected

Definition at line 249 of file debuggeroptionsprjdlg.cpp.

References _(), _T, CompileTargetBase::GetBasePath(), m_pProject, PlaceWindow(), and wxID_OK.

Referenced by OnCancel().

◆ OnTargetSel()

void DebuggerOptionsProjectDlg::OnTargetSel ( wxCommandEvent event)
protected

◆ OnUpdateUI()

void DebuggerOptionsProjectDlg::OnUpdateUI ( wxUpdateUIEvent event)
protected

Definition at line 279 of file debuggeroptionsprjdlg.cpp.

References wxNOT_FOUND.

Referenced by OnCancel().

◆ SaveCurrentRemoteDebuggingRecord()

void DebuggerOptionsProjectDlg::SaveCurrentRemoteDebuggingRecord ( )
private

Member Data Documentation

◆ m_CurrentRemoteDebugging

RemoteDebuggingMap DebuggerOptionsProjectDlg::m_CurrentRemoteDebugging
private

◆ m_LastTargetSel

int DebuggerOptionsProjectDlg::m_LastTargetSel
private

◆ m_OldPaths

wxArrayString DebuggerOptionsProjectDlg::m_OldPaths
private

Definition at line 45 of file debuggeroptionsprjdlg.h.

Referenced by OnApply().

◆ m_pDBG

DebuggerGDB* DebuggerOptionsProjectDlg::m_pDBG
private

Definition at line 43 of file debuggeroptionsprjdlg.h.

Referenced by OnApply().

◆ m_pProject

cbProject* DebuggerOptionsProjectDlg::m_pProject
private

The documentation for this class was generated from the following files: