GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
EditorSettings.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 SCENECANVASSETTINGS_H
7 #define SCENECANVASSETTINGS_H
8 #include "GDCore/String.h"
9 #include "GDCore/Serialization/SerializerElement.h"
10 
11 namespace gd {
12 
19 class GD_CORE_API EditorSettings {
20  public:
22  virtual ~EditorSettings(){};
23 
27 
30  void SerializeTo(SerializerElement& element) const;
31 
35  void UnserializeFrom(const SerializerElement& element);
37 
38 private:
39  gd::SerializerElement content;
40 };
41 
42 } // namespace gd
43 
44 #endif // SCENECANVASSETTINGS_H
Container for arbitrary serialized data to be used by the editor to store settings.
Definition: EditorSettings.h:19
A generic container that can represent a value ( containing a string, double, bool or int),...
Definition: SerializerElement.h:37
Definition: CommonTools.h:24