mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2024-06-24 05:29:31 +00:00
18 lines
303 B
C++
18 lines
303 B
C++
#include "genericfile.h"
|
|
|
|
GenericFile::GenericFile(QByteArray data)
|
|
{
|
|
m_diskfile = 0;
|
|
if (!data.isEmpty()) {
|
|
setData(data);
|
|
}
|
|
m_address = 0x00;
|
|
m_length = 0x00;
|
|
}
|
|
|
|
void GenericFile::setData(QByteArray data)
|
|
{
|
|
m_data = data;
|
|
m_length = data.size();
|
|
}
|