mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
Implementações em serialization.hpp
This commit is contained in:
parent
82a72bf018
commit
35cf5d54f9
@ -6,9 +6,11 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include "xna/exception.hpp"
|
#include "xna/exception.hpp"
|
||||||
#include "xna/helpers.hpp"
|
#include "xna/helpers.hpp"
|
||||||
|
#include "serialization.hpp"
|
||||||
|
|
||||||
namespace xna {
|
namespace xna {
|
||||||
|
class ContentTypeSerializer;
|
||||||
|
|
||||||
class ContentBuilderLogger {
|
class ContentBuilderLogger {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
25
includes/pipeline/serialization.hpp
Normal file
25
includes/pipeline/serialization.hpp
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
#ifndef XNA_PIPELINE_SERIALIZER_HPP
|
||||||
|
#define XNA_PIPELINE_SERIALIZER_HPP
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include "xna/csharp/xml.hpp"
|
||||||
|
|
||||||
|
namespace xna {
|
||||||
|
class ContentTypeSerializer {
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
struct ISerialization {
|
||||||
|
virtual void Serialize(ContentTypeSerializer& serializer) = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
class IntermediateSerializer {
|
||||||
|
public:
|
||||||
|
template <typename T>
|
||||||
|
static T Deserialize(XmlReader& input, std::string referenceRelocationPath) {
|
||||||
|
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
@ -1,15 +0,0 @@
|
|||||||
#ifndef XNA_PIPELINE_SERIALIZER_HPP
|
|
||||||
#define XNA_PIPELINE_SERIALIZER_HPP
|
|
||||||
|
|
||||||
#include "xna/csharp/xml.hpp"
|
|
||||||
|
|
||||||
namespace xna {
|
|
||||||
class IntermediateSerializer {
|
|
||||||
template <typename T>
|
|
||||||
static T Deserialize<T>(XmlReader& input, std::string referenceRelocationPath) {
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
x
Reference in New Issue
Block a user