summaryrefslogtreecommitdiff
path: root/lyt/binaryfile.h
blob: 6cc278cc5d9e8267f8d7f702fefbb8b98d9aa402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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