GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
CustomConfigurationHelper.h
1 /*
2  * GDevelop Core
3  * Copyright 2008-2016 Florian Rival ([email protected]). All rights
4  * reserved. This project is released under the MIT License.
5  */
6 #ifndef GDCORE_CUSTOMCONFIGURATIONHELPER_H
7 #define GDCORE_CUSTOMCONFIGURATIONHELPER_H
8 
9 #include "GDCore/Project/Behavior.h"
10 #include "GDCore/Project/EventsBasedBehavior.h"
11 #include "GDCore/Project/Project.h"
12 #include "GDCore/Project/PropertiesContainer.h"
13 #include "GDCore/Project/PropertyDescriptor.h"
14 #include "GDCore/Serialization/Serializer.h"
15 #include "GDCore/Serialization/SerializerElement.h"
16 
17 using namespace gd;
18 
19 namespace gd {
25 public:
27 
28  static void InitializeContent(
29  const gd::PropertiesContainer &properties,
30  gd::SerializerElement &behaviorContent);
31 
32  static std::map<gd::String, gd::PropertyDescriptor> GetProperties(
33  const gd::PropertiesContainer &properties,
34  const gd::SerializerElement &behaviorContent);
35 
36  static bool UpdateProperty(
37  const gd::PropertiesContainer &properties,
38  gd::SerializerElement &behaviorContent,
39  const gd::String &name,
40  const gd::String &value);
41 };
42 } // namespace gd
43 
44 #endif // GDCORE_CUSTOMCONFIGURATIONHELPER_H
Helper functions that gd::CustomBehavior and gd::CustomBehaviorsSharedData use to store their content...
Definition: CustomConfigurationHelper.h:24
A container of properties, used for custom behaviors, custom objects, extensions.....
Definition: PropertiesContainer.h:17
A generic container that can represent a value ( containing a string, double, bool or int),...
Definition: SerializerElement.h:37
String represents an UTF8 encoded string.
Definition: String.h:31
Definition: CommonTools.h:24