diff options
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 |