Continued work on assembler metadata dialog

This commit is contained in:
Mark Long 2016-10-26 02:46:25 -05:00
parent cea53aadd5
commit 6e8da24b47
2 changed files with 14 additions and 0 deletions

View File

@ -78,6 +78,18 @@ QDataStream &EntryPoints::write(QDataStream &dataStream) const
return dataStream;
}
QList<quint16> EntryPoints::getEntryPointAddresses() const
{
QList<quint16> retval;
QListIterator<EntryPoint> it(m_entryPoints);
while (it.hasNext())
{
retval.append(it.next().address);
}
return retval;
}
QDataStream &operator<<(QDataStream &out, const EntryPoints &model)
{
return model.write(out);

View File

@ -28,6 +28,8 @@ public:
int numEntryPoints() const { return m_entryPoints.count(); }
QList<quint16> getEntryPointAddresses() const;
void doTestData();
signals: