GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
Represents a "physical" source file. More...
#include <SourceFile.h>
Public Member Functions | |
SourceFile * | Clone () const |
Return a pointer to a new SourceFile constructed from this one. | |
gd::String | GetFileName () const |
Get the filename. | |
void | SetFileName (gd::String filename_) |
Change the filename. | |
void | SerializeTo (SerializerElement &element) const |
Serialize the source file. | |
void | UnserializeFrom (const SerializerElement &element) |
Unserialize the source file. | |
void | SetGDManaged (bool gdManaged_) |
Set if the file is hidden from the user point of view and is only managed by GDevelop. | |
bool | IsGDManaged () const |
Return true if the file is hidden from the user point of view and is only managed by GDevelop. | |
void | SetLanguage (gd::String lang) |
Change the language of the source file. | |
const gd::String & | GetLanguage () const |
Get the language of the source file. | |
Represents a "physical" source file.
Source file can be compiled (or just integrated to the exported project) by platforms. Most of the time, special events are provided to use functions created in such files.