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

#include <advancedcompileroptionsdlg.h>

Inheritance diagram for AdvancedCompilerOptionsDlg:
Collaboration diagram for AdvancedCompilerOptionsDlg:

Public Member Functions

 AdvancedCompilerOptionsDlg (wxWindow *parent, const wxString &compilerId)
 
virtual ~AdvancedCompilerOptionsDlg ()
 
bool IsDirty () const
 
- Public Member Functions inherited from wxScrollingDialog
 wxScrollingDialog ()
 
 wxScrollingDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=_("dialogBox"))
 
- Public Member Functions inherited from wxDialog
virtual int ShowModal ()
 

Private Member Functions

void OnCommandsChange (wxCommandEvent &event)
 
void OnExtChange (wxCommandEvent &event)
 
void OnAddExt (wxCommandEvent &event)
 
void OnDelExt (wxCommandEvent &event)
 
void OnRegexChange (wxCommandEvent &event)
 
void OnRegexTest (wxCommandEvent &event)
 
void OnRegexAdd (wxCommandEvent &event)
 
void OnRegexDelete (wxCommandEvent &event)
 
void OnRegexDefaults (wxCommandEvent &event)
 
void OnRegexUp (wxSpinEvent &event)
 
void OnRegexDown (wxSpinEvent &event)
 
void EndModal (int retCode)
 
void ReadCompilerOptions ()
 
void WriteCompilerOptions ()
 
void ReadExtensions (int nr)
 
void DisplayCommand (int cmd, int ext)
 
void CheckForChanges ()
 
CompilerToolGetCompilerTool (int cmd, int ext)
 
void SaveCommands (int cmd, int ext)
 
void FillRegexes ()
 
void FillRegexDetails (int index)
 
void SaveRegexDetails (int index)
 
 DECLARE_EVENT_TABLE ()
 

Private Attributes

wxString m_CompilerId
 
int m_LastCmdIndex
 
int m_LastExtIndex
 
RegExArray m_Regexes
 
int m_SelectedRegex
 
bool m_bDirty
 Have changes being made to settings in the dialog. More...
 
CompilerToolsVector m_Commands [ctCount]
 

Detailed Description

Definition at line 16 of file advancedcompileroptionsdlg.h.

Constructor & Destructor Documentation

◆ AdvancedCompilerOptionsDlg()

AdvancedCompilerOptionsDlg::AdvancedCompilerOptionsDlg ( wxWindow parent,
const wxString compilerId 
)

◆ ~AdvancedCompilerOptionsDlg()

AdvancedCompilerOptionsDlg::~AdvancedCompilerOptionsDlg ( )
virtual

Definition at line 83 of file advancedcompileroptionsdlg.cpp.

Member Function Documentation

◆ CheckForChanges()

void AdvancedCompilerOptionsDlg::CheckForChanges ( )
private

◆ DECLARE_EVENT_TABLE()

AdvancedCompilerOptionsDlg::DECLARE_EVENT_TABLE ( )
private

◆ DisplayCommand()

void AdvancedCompilerOptionsDlg::DisplayCommand ( int  cmd,
int  ext 
)
private

◆ EndModal()

void AdvancedCompilerOptionsDlg::EndModal ( int  retCode)
private

◆ FillRegexDetails()

void AdvancedCompilerOptionsDlg::FillRegexDetails ( int  index)
private

◆ FillRegexes()

void AdvancedCompilerOptionsDlg::FillRegexes ( )
private

◆ GetCompilerTool()

CompilerTool * AdvancedCompilerOptionsDlg::GetCompilerTool ( int  cmd,
int  ext 
)
private

◆ IsDirty()

bool AdvancedCompilerOptionsDlg::IsDirty ( ) const
inline

◆ OnAddExt()

void AdvancedCompilerOptionsDlg::OnAddExt ( wxCommandEvent event)
private

◆ OnCommandsChange()

void AdvancedCompilerOptionsDlg::OnCommandsChange ( wxCommandEvent event)
private

◆ OnDelExt()

void AdvancedCompilerOptionsDlg::OnDelExt ( wxCommandEvent event)
private

◆ OnExtChange()

void AdvancedCompilerOptionsDlg::OnExtChange ( wxCommandEvent event)
private

Definition at line 318 of file advancedcompileroptionsdlg.cpp.

References CheckForChanges(), and DisplayCommand().

Referenced by IsDirty(), and StringToControlChars().

◆ OnRegexAdd()

void AdvancedCompilerOptionsDlg::OnRegexAdd ( wxCommandEvent event)
private

◆ OnRegexChange()

void AdvancedCompilerOptionsDlg::OnRegexChange ( wxCommandEvent event)
private

◆ OnRegexDefaults()

void AdvancedCompilerOptionsDlg::OnRegexDefaults ( wxCommandEvent event)
private

◆ OnRegexDelete()

void AdvancedCompilerOptionsDlg::OnRegexDelete ( wxCommandEvent event)
private

◆ OnRegexDown()

void AdvancedCompilerOptionsDlg::OnRegexDown ( wxSpinEvent event)
private

◆ OnRegexTest()

void AdvancedCompilerOptionsDlg::OnRegexTest ( wxCommandEvent event)
private

◆ OnRegexUp()

void AdvancedCompilerOptionsDlg::OnRegexUp ( wxSpinEvent event)
private

◆ ReadCompilerOptions()

void AdvancedCompilerOptionsDlg::ReadCompilerOptions ( )
private

◆ ReadExtensions()

void AdvancedCompilerOptionsDlg::ReadExtensions ( int  nr)
private

◆ SaveCommands()

void AdvancedCompilerOptionsDlg::SaveCommands ( int  cmd,
int  ext 
)
private

◆ SaveRegexDetails()

void AdvancedCompilerOptionsDlg::SaveRegexDetails ( int  index)
private

◆ WriteCompilerOptions()

void AdvancedCompilerOptionsDlg::WriteCompilerOptions ( )
private

Member Data Documentation

◆ m_bDirty

bool AdvancedCompilerOptionsDlg::m_bDirty
private

Have changes being made to settings in the dialog.

Definition at line 54 of file advancedcompileroptionsdlg.h.

Referenced by EndModal(), and IsDirty().

◆ m_Commands

CompilerToolsVector AdvancedCompilerOptionsDlg::m_Commands[ctCount]
private

◆ m_CompilerId

wxString AdvancedCompilerOptionsDlg::m_CompilerId
private

◆ m_LastCmdIndex

int AdvancedCompilerOptionsDlg::m_LastCmdIndex
private

Definition at line 50 of file advancedcompileroptionsdlg.h.

Referenced by CheckForChanges(), and DisplayCommand().

◆ m_LastExtIndex

int AdvancedCompilerOptionsDlg::m_LastExtIndex
private

Definition at line 51 of file advancedcompileroptionsdlg.h.

Referenced by CheckForChanges(), DisplayCommand(), and OnDelExt().

◆ m_Regexes

RegExArray AdvancedCompilerOptionsDlg::m_Regexes
private

◆ m_SelectedRegex

int AdvancedCompilerOptionsDlg::m_SelectedRegex
private

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