summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/FileSystem/DecodedData.h
diff options
context:
space:
mode:
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