mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2024-12-21 22:29:30 +00:00
Continued work on assembler metadata dialog
This commit is contained in:
parent
cea53aadd5
commit
6e8da24b47
@ -78,6 +78,18 @@ QDataStream &EntryPoints::write(QDataStream &dataStream) const
|
|||||||
return dataStream;
|
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)
|
QDataStream &operator<<(QDataStream &out, const EntryPoints &model)
|
||||||
{
|
{
|
||||||
return model.write(out);
|
return model.write(out);
|
||||||
|
@ -28,6 +28,8 @@ public:
|
|||||||
|
|
||||||
int numEntryPoints() const { return m_entryPoints.count(); }
|
int numEntryPoints() const { return m_entryPoints.count(); }
|
||||||
|
|
||||||
|
QList<quint16> getEntryPointAddresses() const;
|
||||||
|
|
||||||
void doTestData();
|
void doTestData();
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
Loading…
Reference in New Issue
Block a user