Add an easy way to get list of object definitions

This commit is contained in:
G.K.MacGregor
2024-06-04 18:13:59 +01:00
parent dfff4c5e17
commit f90ea6ca9c
2 changed files with 7 additions and 0 deletions

View File

@@ -96,11 +96,13 @@ public:
bool isEmpty() const { return m_list.isEmpty(); }
void reserve(int alloc) { m_list.reserve(alloc); }
int size() const { return m_list.size(); }
const QList<int> &objects(int t) const { return m_objects[t]; };
private:
void updateInternalData();
QList<X26Triplet> m_list;
QList<int> m_objects[3];
class ActivePosition
{