From d8e3001e535fad178c621ff07418f81f25123dc4 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 22 Aug 2024 12:55:49 -0600 Subject: Allow multiple high level representations for display, add Pseudo Rust and a Pseudo Python example plugin --- ui/variablelist.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui/variablelist.h') diff --git a/ui/variablelist.h b/ui/variablelist.h index 2b7ed8e7..e10d40eb 100644 --- a/ui/variablelist.h +++ b/ui/variablelist.h @@ -101,7 +101,7 @@ class BINARYNINJAUIAPI VariableListModel : public QAbstractListModel ViewFrame* m_view; BinaryViewRef m_data; FunctionRef m_func; - BNFunctionGraphType m_funcType; + BinaryNinja::FunctionViewType m_funcType; bool m_funcExceedsComplexity = false; BinaryNinja::AdvancedFunctionAnalysisDataRequestor m_analysisRequestor; std::vector m_items; @@ -123,13 +123,13 @@ class BINARYNINJAUIAPI VariableListModel : public QAbstractListModel FunctionRef function() const; //! Get the current function type. - BNFunctionGraphType functionType() const; + const BinaryNinja::FunctionViewType& functionType() const; //! Whether or not the function exceeds the set complexity threshold bool functionExceedsComplexity() const { return m_funcExceedsComplexity; } //! Set the focused function and update the content of the list. - void setFunction(FunctionRef func, BNFunctionGraphType il, const HighlightTokenState& hts); + void setFunction(FunctionRef func, const BinaryNinja::FunctionViewType& il, const HighlightTokenState& hts); //! Set the selection model, should correspond to the parent widget's. void setSelectionModel(QItemSelectionModel* model); -- cgit v1.3.1