Code::Blocks  SVN r11506
selecttargetdlg.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3  * http://www.gnu.org/licenses/lgpl-3.0.html
4  */
5 
6 #ifndef SELECTTARGETDLG_H
7 #define SELECTTARGETDLG_H
8 
9 #include "scrollingdialog.h"
10 
11 class cbProject;
12 class ProjectBuildTarget;
13 class wxListBox;
14 
16 {
17  public:
18  SelectTargetDlg(wxWindow* parent, cbProject* project, int selected = 0);
19  ~SelectTargetDlg() override;
20 
21  void EndModal(int retCode) override;
22  int GetSelection() const { return m_Selected; }
24  private:
26  void OnListboxDClick(wxCommandEvent& event);
28  void UpdateSelected();
29 
34 
35  DECLARE_EVENT_TABLE()
36 };
37 
38 #endif // SELECTTARGETDLG_H
void EndModal(int retCode) override
int GetSelection() const
ProjectBuildTarget * GetSelectionTarget()
cbProject * m_pProject
Represents a Code::Blocks project.
Definition: cbproject.h:96
void OnListboxDClick(wxCommandEvent &event)
wxListBox * m_List
~SelectTargetDlg() override
void OnListboxSelection(wxCommandEvent &event)
SelectTargetDlg(wxWindow *parent, cbProject *project, int selected=0)
Represents a Code::Blocks project build target.
void OnHostApplicationButtonClick(wxCommandEvent &event)