Code::Blocks  SVN r11506
projectfileoptionsdlg.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 PROJECTFILEOPTIONSDLG_H
7 #define PROJECTFILEOPTIONSDLG_H
8 
9 #include "scrollingdialog.h"
10 #include "settings.h"
11 
12 class ProjectFile;
13 
15 {
16  public:
18  ProjectFileOptionsDlg(wxWindow* parent, const wxString& fileName);
19  ~ProjectFileOptionsDlg() override;
20 
21  void OnReadOnlyCheck(wxCommandEvent& event);
22  void OnCompilerCombo(wxCommandEvent& event);
23  void OnUpdateUI(wxUpdateUIEvent& event);
24  void EndModal(int retCode) override;
25 
26  private:
27  void FillGeneralProperties();
28  void FillCompilers();
29  void UpdateBuildCommand();
30  void SaveBuildCommandSelection();
31  bool ToggleFileReadOnly(bool setReadOnly);
32 
37 
38  DECLARE_EVENT_TABLE()
39 };
40 
41 #endif // PROJECTFILEOPTIONSDLG_H
void EndModal(int retCode)
Definition: sc_dialog.cpp:112
Represents a file in a Code::Blocks project.
Definition: projectfile.h:39
#define DLLIMPORT
Definition: settings.h:16