diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2024-08-22 12:55:49 -0600 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2024-10-21 13:56:55 -0400 |
| commit | d8e3001e535fad178c621ff07418f81f25123dc4 (patch) | |
| tree | 54c03cef2f0bdfd9a3b6df4334c81becb63e4993 /ui/xreflist.h | |
| parent | 0e281a30d73c0f31ef9442fef0346779164231ad (diff) | |
Allow multiple high level representations for display, add Pseudo Rust and a Pseudo Python example plugin
Diffstat (limited to 'ui/xreflist.h')
| -rw-r--r-- | ui/xreflist.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ui/xreflist.h b/ui/xreflist.h index eb4edc7e..e9df2df8 100644 --- a/ui/xreflist.h +++ b/ui/xreflist.h @@ -304,7 +304,7 @@ class BINARYNINJAUIAPI CrossReferenceTreeModel : public QAbstractItemModel ViewFrame* m_view; std::vector<XrefItem> m_refs; size_t m_maxUIItems; - std::optional<BNFunctionGraphType> m_graphType; + std::optional<BinaryNinja::FunctionViewType> m_graphType; SelectionInfoForXref m_curRef; QTimer* m_updateTimer; @@ -328,7 +328,7 @@ class BINARYNINJAUIAPI CrossReferenceTreeModel : public QAbstractItemModel ViewFrame* getView() const { return m_view; } virtual void updateMaxUIItems(size_t value) { m_maxUIItems = value; } size_t getMaxUIItems() const { return m_maxUIItems; } - void setGraphType(BNFunctionGraphType type); + void setGraphType(const BinaryNinja::FunctionViewType& type); void requestAdvancedAnalysis(); Q_SIGNALS: @@ -352,7 +352,7 @@ class BINARYNINJAUIAPI CrossReferenceTableModel : public QAbstractTableModel ViewFrame* m_view; std::vector<XrefItem> m_refs; size_t m_maxUIItems; - std::optional<BNFunctionGraphType> m_graphType; + std::optional<BinaryNinja::FunctionViewType> m_graphType; SelectionInfoForXref m_curRef; QTimer* m_updateTimer; @@ -393,7 +393,7 @@ class BINARYNINJAUIAPI CrossReferenceTableModel : public QAbstractTableModel ViewFrame* getView() const { return m_view; } virtual void updateMaxUIItems(size_t value) { m_maxUIItems = value; } size_t getMaxUIItems() const { return m_maxUIItems; } - void setGraphType(BNFunctionGraphType type); + void setGraphType(const BinaryNinja::FunctionViewType& type); void requestAdvancedAnalysis(); Q_SIGNALS: void needRepaint(); @@ -530,7 +530,7 @@ public: virtual int filteredCount() const override; void updateTextFilter(const QString& filterText); virtual void updateMaxUIItems(size_t count) override; - void setGraphType(BNFunctionGraphType type) { m_tree->setGraphType(type); } + void setGraphType(const BinaryNinja::FunctionViewType& type) { m_tree->setGraphType(type); } virtual void OnAnalysisFunctionUpdated(BinaryNinja::BinaryView* view, BinaryNinja::Function* func) override; Q_SIGNALS: @@ -574,7 +574,7 @@ class BINARYNINJAUIAPI CrossReferenceTable : public QTableView, public CrossRefe virtual int leafCount() const override; virtual int filteredCount() const override; virtual void updateMaxUIItems(size_t count) override; - void setGraphType(BNFunctionGraphType type) { m_table->setGraphType(type); } + void setGraphType(const BinaryNinja::FunctionViewType& type) { m_table->setGraphType(type); } virtual void OnAnalysisFunctionUpdated(BinaryNinja::BinaryView* view, BinaryNinja::Function* func) override; public Q_SLOTS: @@ -609,7 +609,7 @@ class BINARYNINJAUIAPI CrossReferenceWidget : public SidebarWidget, public UICon CrossReferenceContainer* m_container; bool m_useTableView; Qt::Orientation m_primaryOrientation; - std::optional<BNFunctionGraphType> m_graphType; + std::optional<BinaryNinja::FunctionViewType> m_graphType; QTimer* m_hoverTimer; QPoint m_hoverPos; @@ -656,7 +656,7 @@ class BINARYNINJAUIAPI CrossReferenceWidget : public SidebarWidget, public UICon bool tableView() const { return m_useTableView; } bool uiMaxItemsExceeded() const { return m_uiMaxItemsExceeded; } void setUIMaxItemsExceeded(bool value) { m_uiMaxItemsExceeded = value; } - void setGraphType(BNFunctionGraphType type); + void setGraphType(const BinaryNinja::FunctionViewType& type); virtual void focus() override; |
