MyGUI_ISerializable.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_I_SERIALIZABLE_H_
#define MYGUI_I_SERIALIZABLE_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_IObject.h"
#include "MyGUI_XmlDocument.h"
#include "MyGUI_Version.h"
namespace MyGUI
{
class MYGUI_EXPORT ISerializable : public IObject
{
MYGUI_RTTI_DERIVED(ISerializable)
public:
virtual void serialization(xml::ElementPtr /*_node*/, Version /*_version*/)
{
}
virtual void deserialization(xml::ElementPtr /*_node*/, Version /*_version*/)
{
}
};
} // namespace MyGUI
#endif // MYGUI_I_SERIALIZABLE_H_
MyGUI_IObject.h
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition MyGUI_RTTI.h:69
MyGUI_Version.h
MyGUI_XmlDocument.h
MyGUI::IObject
Definition MyGUI_IObject.h:17
MyGUI::ISerializable
Definition MyGUI_ISerializable.h:19
MyGUI::ISerializable::deserialization
virtual void deserialization(xml::ElementPtr, Version)
Definition MyGUI_ISerializable.h:26
MyGUI::ISerializable::serialization
virtual void serialization(xml::ElementPtr, Version)
Definition MyGUI_ISerializable.h:23
MyGUI::Version
Definition MyGUI_Version.h:18
MyGUI::xml::ElementPtr
Element * ElementPtr
Definition MyGUI_XmlDocument.h:112
MyGUI
Definition MyGUI_ActionController.h:15