mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-03 04:59:10 +02:00
26 lines
374 B
C++
26 lines
374 B
C++
#ifndef IMG_HUFFMANBUFFER_H
|
|
#define IMG_HUFFMANBUFFER_H
|
|
|
|
#include <QByteArray>
|
|
#include "subfile.h"
|
|
|
|
namespace IMG {
|
|
|
|
class RGNFile;
|
|
|
|
class HuffmanBuffer : public QByteArray
|
|
{
|
|
public:
|
|
HuffmanBuffer(quint8 id) : _id(id) {}
|
|
|
|
quint8 id() const {return _id;}
|
|
bool load(const RGNFile *rgn, SubFile::Handle &rgnHdl);
|
|
|
|
private:
|
|
quint8 _id;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // IMG_HUFFMANBUFFER_H
|