53 void Rename(
const wxString& new_name);
57 void AddBuildTarget(
const wxString& targetName);
64 void RenameBuildTarget(
const wxString& oldTargetName,
const wxString& newTargetName);
68 void RemoveBuildTarget(
const wxString& targetName);
90 void SetObjName(
const wxString& name);
115 void SetCustomBuildCommand(
const wxString& compilerId,
const wxString& newBuildCommand);
118 bool GetUseCustomBuildCommand(
const wxString& compilerId);
268 #endif // PROJECTFILE_H FileVisualState
These are valid values for the state of each project file.
wxString object_file_flat_native
int editorTabPos
The position of the editor-tab for this file.
wxString relativeToCommonTopLevelPath
The relative filename to the common top-level path.
const wxTreeItemId & GetTreeItemId() const
Returns the wxTreeItemId for the file.
unsigned short int weight
The weight.
wxString relativeFilename
The relative (to the project) filename of this file.
WX_DECLARE_HASH_SET(ProjectFile *, wxPointerHash, wxPointerEqual, FilesList)
ProjectFile * autoGeneratedBy
If this is an auto-generated file, which file is generating it?
wxString source_file_absolute_native
int editorSplitActive
Last active splitview (1 or 2).
wxFileName file
The full filename of this file.
int editorPos_2
The last known caret position in an editor for this file (right/bottom control if split)...
bool compile
Compile flag.
wxString object_file_native
wxString object_file_flat_absolute_native
wxString object_dir_native
void SetAutoGeneratedBy(ProjectFile *TheFile)
If this is an auto-generated file, set the file which is generating it?
int editorZoom
The zoom-factor of the editor for this file (left/top control if split).
Represents a file in a Code::Blocks project.
int editorPos
The last known caret position in an editor for this file (left/top control if split).
wxString dep_file_absolute_native
int editorSplitPos
Last splitter position.
wxString object_dir_flat_native
std::vector< ProjectFile * > ProjectFilesVector
int editorTopLine
The last known caret line in an editor for this file (left/top control if split). ...
wxTreeItemId m_TreeItemId
Represents a Code::Blocks project.
int editorSplit
Split type of the editor as int.
WX_DEFINE_ARRAY_INT(int, editorFoldLinesArray)
pfCustomBuildMap customBuild
A map for custom builds.
This is a helper class that caches various filenames for one ProjectFile.
int editorTopLine_2
The last known caret line in an editor for this file(right/bottom control if split).
bool editorOpen
If true, the file is open inside an editor.
ProjectFilesVector generatedFiles
Auto-generated files when compiling this file.
bool useCustomBuildCommand
wxArray< int > wxArrayInt
wxString compilerVar
The compiler variable used for this file (e.g CPP, CC, etc).
void SetTreeItemId(wxTreeItemId id)
Sets the tree item id for the file.
WX_DEFINE_SORTED_ARRAY(ProjectFile *, ProjectFileArray)
wxString object_file_absolute_native
WX_DECLARE_HASH_MAP(ProjectBuildTarget *, pfDetails *, wxPointerHash, wxPointerEqual, PFDMap)
FileVisualState m_VisualState
wxString virtual_path
A string that represents the virtual folder this file will appear in.
cbProject * GetParentProject()
int editorZoom_2
The zoom-factor of the editor for this file(right/bottom control if split).
Represents a Code::Blocks project build target.
ProjectFile * AutoGeneratedBy() const
If this is an auto-generated file, which file is generating it?
wxArrayInt editorFoldLinesArray
Fold lines.
wxString source_file_native
wxArrayString buildTargets
An array of strings, containing the names of all the build targets this file belongs to...
wxString object_file_flat