10 #include "GDCore/String.h"
12 class SerializerElement;
83 std::weak_ptr<BaseEvent>
97 binary_function<std::unique_ptr<SourceFile>, gd::String, bool> {
98 bool operator()(
const std::unique_ptr<SourceFile>& externalEvents,
100 return externalEvents->GetFileName() == name;
A generic container that can represent a value ( containing a string, double, bool or int),...
Definition: SerializerElement.h:37
Represents a "physical" source file.
Definition: SourceFile.h:25
const gd::String & GetLanguage() const
Get the language of the source file.
Definition: SourceFile.h:75
void SetGDManaged(bool gdManaged_)
Set if the file is hidden from the user point of view and is only managed by GDevelop.
Definition: SourceFile.h:59
bool IsGDManaged() const
Return true if the file is hidden from the user point of view and is only managed by GDevelop.
Definition: SourceFile.h:65
gd::String GetFileName() const
Get the filename.
Definition: SourceFile.h:38
SourceFile * Clone() const
Return a pointer to a new SourceFile constructed from this one.
Definition: SourceFile.h:33
void SetFileName(gd::String filename_)
Change the filename.
Definition: SourceFile.h:43
void SetLanguage(gd::String lang)
Change the language of the source file.
Definition: SourceFile.h:70
String represents an UTF8 encoded string.
Definition: String.h:31
Definition: CommonTools.h:24
Definition: SourceFile.h:97