aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Common/Data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Common/Data.h')
-rw-r--r--src/libjin/Common/Data.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/libjin/Common/Data.h b/src/libjin/Common/Data.h
deleted file mode 100644
index 4b0f1ba..0000000
--- a/src/libjin/Common/Data.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef __JIN_COMMON_DATA_H
-#define __JIN_COMMON_DATA_H
-
-
-
-namespace jin
-{
-
- class DataBuffer
- {
- public:
- DataBuffer(int n)
- : len(n)
- {
- buffer = new char[len];
- memset(buffer, 0, len);
- }
- ~DataBuffer()
- {
- delete[] buffer;
- }
- char* operator&()
- {
- return buffer;
- }
-
- private:
- char* buffer;
- int len;
- };
-
-} // jin
-
-#endif \ No newline at end of file