AppleSAWS/src/binaryfile/binaryfile.h

23 lines
389 B
C
Raw Normal View History

2015-12-01 16:24:51 +00:00
#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