summaryrefslogtreecommitdiff
path: root/lyt/binaryfilesection.h
blob: 0d6c4f7eb78c055626d3d109e742b69df05dc990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef LYTBINARYFILESECTION_H
#define LYTBINARYFILESECTION_H

#include <QtCore/QDataStream>

#include "common.h"

class LYTBinaryFileSection {
public:
    LYTBinaryFileSection();

	Magic magic;
	QByteArray data;

	void writeToDataStream(QDataStream &out);
	void readFromDataStream(QDataStream &in);

	int writtenSize();
};



#endif // LYTBINARYFILESECTION_H