diff options
author | Treeki <treeki@gmail.com> | 2010-10-07 15:56:13 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2010-10-07 15:56:13 +0200 |
commit | 5f6dad55d75cbe146ff7fefc899a02ccd39078ba (patch) | |
tree | 0822df14cc6d2c0329810c9ae7b4a4a638fe82b1 /lyt/binaryfile.h | |
download | LayoutStudio-5f6dad55d75cbe146ff7fefc899a02ccd39078ba.tar.gz LayoutStudio-5f6dad55d75cbe146ff7fefc899a02ccd39078ba.zip |
initial commit -- everything compiles except for material.cpp. the material system still needs quite a bit of work; this will come in due time
Diffstat (limited to 'lyt/binaryfile.h')
-rw-r--r-- | lyt/binaryfile.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lyt/binaryfile.h b/lyt/binaryfile.h new file mode 100644 index 0000000..6cc278c --- /dev/null +++ b/lyt/binaryfile.h @@ -0,0 +1,22 @@ +#ifndef LYTBINARYFILE_H +#define LYTBINARYFILE_H + +#include <QtCore/QList> + +#include "common.h" +#include "binaryfilesection.h" + +class LYTBinaryFile { +public: + LYTBinaryFile(Magic magic, Version version); + LYTBinaryFile(QByteArray data); + + QByteArray pack(); + + Magic magic; + Version version; + + QList<LYTBinaryFileSection> sections; +}; + +#endif // LYTBINARYFILE_H |