MyGUI  3.2.1
MyGUI_ISerializable.h
Go to the documentation of this file.
00001 /*
00002  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
00003  * Distributed under the MIT License
00004  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
00005  */
00006 
00007 #ifndef __MYGUI_I_SERIALIZABLE_H__
00008 #define __MYGUI_I_SERIALIZABLE_H__
00009 
00010 #include "MyGUI_Prerequest.h"
00011 #include "MyGUI_IObject.h"
00012 #include "MyGUI_XmlDocument.h"
00013 #include "MyGUI_Version.h"
00014 
00015 namespace MyGUI
00016 {
00017 
00018     class MYGUI_EXPORT ISerializable :
00019         public IObject
00020     {
00021         MYGUI_RTTI_DERIVED( ISerializable )
00022 
00023     public:
00024         ISerializable() { }
00025         virtual ~ISerializable() { }
00026 
00027         virtual void serialization(xml::ElementPtr _node, Version _version) { }
00028         virtual void deserialization(xml::ElementPtr _node, Version _version) { }
00029     };
00030 
00031 } // namespace MyGUI
00032 
00033 #endif // __MYGUI_I_SERIALIZABLE_H__