diff options
| author | Glenn Smith <glenn@vector35.com> | 2022-11-29 15:40:00 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2022-11-30 18:35:18 -0500 |
| commit | d9a0b4e14ee9df749ad685fa723d537552627012 (patch) | |
| tree | 9aeea20c273d6453fa5af3d8108a4e39ab3578ce /examples/triage/imports.h | |
| parent | 4c242707996e94877d3e2762a2ef88835e98abbc (diff) | |
Triage View: show typelib status of imports
Diffstat (limited to 'examples/triage/imports.h')
| -rw-r--r-- | examples/triage/imports.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/triage/imports.h b/examples/triage/imports.h index 2199aa47..c90e91dc 100644 --- a/examples/triage/imports.h +++ b/examples/triage/imports.h @@ -7,13 +7,15 @@ class GenericImportsModel : public QAbstractItemModel { + BinaryViewRef m_data; std::vector<SymbolRef> m_allEntries, m_entries; bool m_hasModules; - int m_nameCol, m_moduleCol, m_ordinalCol; + int m_nameCol, m_moduleCol, m_ordinalCol, m_typeLibCol; int m_totalCols, m_sortCol; Qt::SortOrder m_sortOrder; QString getNamespace(SymbolRef sym) const; + QString getLibrarySource(SymbolRef sym) const; void performSort(int col, Qt::SortOrder order); public: @@ -32,6 +34,8 @@ class GenericImportsModel : public QAbstractItemModel bool HasOrdinalCol() const { return m_ordinalCol != -1; } int GetOrdinalCol() const { return m_ordinalCol; } + int GetTypeLibCol() const { return m_typeLibCol; } + int GetNameCol() const { return m_nameCol; } }; |
