mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2024-10-15 14:24:27 +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
|