From 5f6dad55d75cbe146ff7fefc899a02ccd39078ba Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 7 Oct 2010 15:56:13 +0200 Subject: initial commit -- everything compiles except for material.cpp. the material system still needs quite a bit of work; this will come in due time --- lyt/binaryfilesection.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lyt/binaryfilesection.h (limited to 'lyt/binaryfilesection.h') diff --git a/lyt/binaryfilesection.h b/lyt/binaryfilesection.h new file mode 100644 index 0000000..0d6c4f7 --- /dev/null +++ b/lyt/binaryfilesection.h @@ -0,0 +1,23 @@ +#ifndef LYTBINARYFILESECTION_H +#define LYTBINARYFILESECTION_H + +#include + +#include "common.h" + +class LYTBinaryFileSection { +public: + LYTBinaryFileSection(); + + Magic magic; + QByteArray data; + + void writeToDataStream(QDataStream &out); + void readFromDataStream(QDataStream &in); + + int writtenSize(); +}; + + + +#endif // LYTBINARYFILESECTION_H -- cgit v1.2.3