Menu

[r7693]: / branches / wxsmith_addons / src / include / projectfileoptionsdlg.h  Maximize  Restore  History

Download this file

42 lines (32 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
* http://www.gnu.org/licenses/lgpl-3.0.html
*/
#ifndef PROJECTFILEOPTIONSDLG_H
#define PROJECTFILEOPTIONSDLG_H
#include "scrollingdialog.h"
#include "settings.h"
class ProjectFile;
class ProjectFileOptionsDlg : public wxScrollingDialog
{
public:
ProjectFileOptionsDlg(wxWindow* parent, ProjectFile* pf);
ProjectFileOptionsDlg(wxWindow* parent, const wxString& fileName);
~ProjectFileOptionsDlg();
void OnReadOnlyCheck(wxCommandEvent& event);
void OnCompilerCombo(wxCommandEvent& event);
void OnUpdateUI(wxUpdateUIEvent& event);
void EndModal(int retCode);
private:
void FillGeneralProperties();
void FillCompilers();
void UpdateBuildCommand();
void SaveBuildCommandSelection();
bool ToggleFileReadOnly(bool setReadOnly);
ProjectFile* m_ProjectFile;
wxString m_FileNameStr;
wxFileName m_FileName;
int m_LastBuildStageCompilerSel;
DECLARE_EVENT_TABLE()
};
#endif // PROJECTFILEOPTIONSDLG_H
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.