mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2024-11-05 12:05:54 +00:00
23 lines
389 B
C
23 lines
389 B
C
|
#ifndef BINARYFILE_H
|
||
|
#define BINARYFILE_H
|
||
|
|
||
|
#include "genericfile.h"
|
||
|
|
||
|
class BinaryFile : public GenericFile
|
||
|
{
|
||
|
public:
|
||
|
BinaryFile(QByteArray data = QByteArray());
|
||
|
void setData(QByteArray data);
|
||
|
|
||
|
quint16 address() { return m_address; }
|
||
|
quint16 length() { return m_length; }
|
||
|
|
||
|
void dump();
|
||
|
|
||
|
protected:
|
||
|
quint16 m_address;
|
||
|
quint16 m_length;
|
||
|
};
|
||
|
|
||
|
#endif // BINARYFILE_H
|