Code::Blocks  SVN r11506
projectoptionsdlg.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 PROJECTOPTIONSDLG_H
7 #define PROJECTOPTIONSDLG_H
8 
9 #include "settings.h"
10 #include "scrollingdialog.h"
11 
12 class wxTreeEvent;
13 class wxSpinEvent;
14 class cbProject;
15 class cbCompilerPlugin;
16 
17 /*
18  * No description
19  */
21 {
22  public:
23  // class constructor
24  ProjectOptionsDlg(wxWindow* parent, cbProject* project);
25  // class destructor
27 
28  void EndModal(int retCode);
31  void OnFileMarkOnClick(wxCommandEvent& event);
42  void OnBrowseDirClick(wxCommandEvent& event);
43  void OnVirtualTargets(wxCommandEvent& event);
44  void OnEditDepsClick(wxCommandEvent& event);
46  void OnBuildOrderClick(wxCommandEvent& event);
50  void OnPlatform(wxCommandEvent& event);
51  void OnUpdateUI(wxUpdateUIEvent& event);
52  void OnOK(wxCommandEvent& event);
55 
56  void OnKeyDown(wxKeyEvent& event);
57 
59  void OnCheckScripts(wxCommandEvent& event);
60  void OnAddScript(wxCommandEvent& event);
61  void OnRemoveScript(wxCommandEvent& event);
62  void OnScriptMoveUp(wxSpinEvent& event);
63  void OnScriptMoveDown(wxSpinEvent& event);
64  private:
65  void BuildScriptsTree();
66  void AddPluginPanels();
67  void FillScripts();
68  void FillBuildTargets();
69  void DoTargetChange(bool saveOld = true);
70  void DoBeforeTargetChange(bool force = false);
72  bool IsScriptValid(ProjectBuildTarget* target, const wxString& script);
73  bool ValidateTargetName(const wxString& name);
74  void UpdateTargetControls();
76  int m_Current_Sel; // current target selection (when selection changes it is the old selection - handy, eh?)
78  ConfigurationPanelsArray m_PluginPanels;
79  DECLARE_EVENT_TABLE()
80 };
81 
82 #endif // PROJECTOPTIONSDLG_H
83 
void DoBeforeTargetChange(bool force=false)
void EndModal(int retCode)
void OnCreateImportFileClick(wxCommandEvent &event)
void OnRemoveBuildTargetClick(wxCommandEvent &event)
cbCompilerPlugin * m_pCompiler
void OnPlatform(wxCommandEvent &event)
void OnCreateDefFileClick(wxCommandEvent &event)
bool DoCheckScripts(CompileTargetBase *base)
void OnExportTargetClick(wxCommandEvent &event)
void UpdateTargetControls()
void OnFileOptionsClick(wxCommandEvent &event)
void OnRemoveScript(wxCommandEvent &event)
void OnOK(wxCommandEvent &event)
void OnAddScript(wxCommandEvent &event)
ProjectOptionsDlg(wxWindow *parent, cbProject *project)
void OnTargetBuildOptionsClick(wxCommandEvent &event)
void OnScriptMoveDown(wxSpinEvent &event)
bool ValidateTargetName(const wxString &name)
void OnBrowseImportLibraryFilenameClick(wxCommandEvent &event)
void OnEditBuildTargetClick(wxCommandEvent &event)
void OnCheckScripts(wxCommandEvent &event)
void OnScriptMoveUp(wxSpinEvent &event)
void OnEditDepsClick(wxCommandEvent &event)
void OnProjectDepsClick(wxCommandEvent &event)
Base class for compiler plugins.
Definition: cbplugin.h:263
void OnBrowseOutputFilenameClick(wxCommandEvent &event)
void OnBrowseDirClick(wxCommandEvent &event)
Represents a Code::Blocks project.
Definition: cbproject.h:96
void OnAddBuildTargetClick(wxCommandEvent &event)
void OnBuildOrderClick(wxCommandEvent &event)
void OnProjectTypeChanged(wxCommandEvent &event)
bool IsScriptValid(ProjectBuildTarget *target, const wxString &script)
void OnCopyBuildTargetClick(wxCommandEvent &event)
void OnKeyDown(wxKeyEvent &event)
void OnBuildTargetChanged(wxCommandEvent &event)
void OnFileMarkOffClick(wxCommandEvent &event)
void OnBrowseDefinitionFileFilenameClick(wxCommandEvent &event)
void OnProjectBuildOptionsClick(wxCommandEvent &event)
void DoTargetChange(bool saveOld=true)
void OnUpdateUI(wxUpdateUIEvent &event)
void OnScriptsOverviewSelChanged(wxTreeEvent &event)
Represents a Code::Blocks project build target.
void OnVirtualTargets(wxCommandEvent &event)
void OnFileMarkOnClick(wxCommandEvent &event)
void OnFileToggleMarkClick(wxCommandEvent &event)
ConfigurationPanelsArray m_PluginPanels
Base class for build target classes Each Code::Blocks project consists of at least one target...