Code::Blocks
SVN r11506
include
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
14
class
DLLIMPORT
ProjectFileOptionsDlg
:
public
wxScrollingDialog
15
{
16
public
:
17
ProjectFileOptionsDlg
(
wxWindow
* parent,
ProjectFile
* pf);
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
33
ProjectFile
*
m_ProjectFile
;
34
wxString
m_FileNameStr
;
35
wxFileName
m_FileName
;
36
int
m_LastBuildStageCompilerSel
;
37
38
DECLARE_EVENT_TABLE()
39
};
40
41
#endif // PROJECTFILEOPTIONSDLG_H
ProjectFileOptionsDlg::m_LastBuildStageCompilerSel
int m_LastBuildStageCompilerSel
Definition:
projectfileoptionsdlg.h:36
ScriptBindings::EndModal
void EndModal(int retCode)
Definition:
sc_dialog.cpp:112
ProjectFileOptionsDlg::m_FileNameStr
wxString m_FileNameStr
Definition:
projectfileoptionsdlg.h:34
wxScrollingDialog
Definition:
scrollingdialog.h:163
scrollingdialog.h
wxUpdateUIEvent
ProjectFileOptionsDlg
Definition:
projectfileoptionsdlg.h:14
ProjectFile
Represents a file in a Code::Blocks project.
Definition:
projectfile.h:39
wxCommandEvent
DLLIMPORT
#define DLLIMPORT
Definition:
settings.h:16
settings.h
wxString
ProjectFileOptionsDlg::m_FileName
wxFileName m_FileName
Definition:
projectfileoptionsdlg.h:35
ProjectFileOptionsDlg::m_ProjectFile
ProjectFile * m_ProjectFile
Definition:
projectfileoptionsdlg.h:33
wxWindow
wxFileName
Generated by
1.8.13