AppleSAWS/src/binaryfile/binaryfile.h
2015-12-14 03:35:40 -06:00

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