MyGUI  3.2.1
MyGUI_ISerializable.h
Go to the documentation of this file.
1 /*
2  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3  * Distributed under the MIT License
4  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5  */
6 
7 #ifndef __MYGUI_I_SERIALIZABLE_H__
8 #define __MYGUI_I_SERIALIZABLE_H__
9 
10 #include "MyGUI_Prerequest.h"
11 #include "MyGUI_IObject.h"
12 #include "MyGUI_XmlDocument.h"
13 #include "MyGUI_Version.h"
14 
15 namespace MyGUI
16 {
17 
19  public IObject
20  {
22 
23  public:
25  virtual ~ISerializable() { }
26 
27  virtual void serialization(xml::ElementPtr _node, Version _version) { }
28  virtual void deserialization(xml::ElementPtr _node, Version _version) { }
29  };
30 
31 } // namespace MyGUI
32 
33 #endif // __MYGUI_I_SERIALIZABLE_H__