summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/FileSystem/DecodedData.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-01 08:50:34 +0800
committerchai <chaifix@163.com>2019-03-01 08:50:34 +0800
commit64d9d7b3eb7cece81da8b2cb56eb0f50d87a5964 (patch)
tree12bde99e5415f77f60f8873a66d09bfd3b84ec48 /Source/Asura.Engine/FileSystem/DecodedData.h
parente28a7d48d032fe7fd4c8789e95fbc659873a0adc (diff)
*misc
Diffstat (limited to 'Source/Asura.Engine/FileSystem/DecodedData.h')
-rw-r--r--Source/Asura.Engine/FileSystem/DecodedData.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/Source/Asura.Engine/FileSystem/DecodedData.h b/Source/Asura.Engine/FileSystem/DecodedData.h
new file mode 100644
index 0000000..927052f
--- /dev/null
+++ b/Source/Asura.Engine/FileSystem/DecodedData.h
@@ -0,0 +1,41 @@
+#ifndef __ASURA_ENGINE_DATA_H__
+#define __ASURA_ENGINE_DATA_H__
+
+#include <cstdlib>
+
+#include "DataBuffer.h"
+#include "Object.h"
+
+namespace AsuraEngine
+{
+ namespace Filesystem
+ {
+
+ ///
+ /// һ̹߳data̳дࡣͼƬݡƵݵȣһ߳нԭļڲݸʽ
+ /// ȡ
+ ///
+ class DecodedData : virtual public Object
+ {
+ public:
+
+ ///
+ /// ڴйdataԷһ߳棬Դϵͳء
+ ///
+ DecodedData(const DataBuffer* databuffer);
+
+ virtual ~DecodedData();
+
+ protected:
+
+ ///
+ /// ڴеݡ
+ ///
+ virtual void Decode(const DataBuffer* buffer) = 0;
+
+ };
+
+ }
+}
+
+#endif \ No newline at end of file