15#pragma warning(disable:4251)
36 virtual void setFromJsonObject(
const ConstJsonObject& _object)
override;
38 void setName(
const std::string& _name) { m_name = _name; };
39 const std::string&
getName(
void)
const {
return m_name; };
41 void setTitle(
const std::string& _title) { m_title = _title; };
42 const std::string&
getTitle(
void)
const {
return m_title; };
44 void setPreviewIcon(
const std::string& _iconPath) { m_previewIcon = _iconPath; };
50 std::string m_previewIcon;
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
The Serializable class is the default interface of serializable objects.
Definition Serializable.h:17
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30