GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Public Member Functions | List of all members
gd::SourceFile Class Reference

Represents a "physical" source file. More...

#include <SourceFile.h>

Public Member Functions

SourceFileClone () 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::StringGetLanguage () const
 Get the language of the source file.
 

Detailed Description

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.


The documentation for this class was generated from the following files: