summaryrefslogtreecommitdiff
path: root/ui/symbolsview.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2019-07-14 21:04:54 -0400
committerPeter LaFosse <peter@vector35.com>2019-07-14 21:04:54 -0400
commit85a3a322e029cb28cc2cda913fd2ccccfe0b9d3b (patch)
tree9924e853ec39366391594b90ffe395b9b18483ba /ui/symbolsview.h
parenta096663fc17d08af0bf2581150b618a1a8f09767 (diff)
Pass through ability to show imports/exports/etc
Diffstat (limited to 'ui/symbolsview.h')
-rw-r--r--ui/symbolsview.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/symbolsview.h b/ui/symbolsview.h
index 694f3ea4..93e0dd51 100644
--- a/ui/symbolsview.h
+++ b/ui/symbolsview.h
@@ -33,6 +33,16 @@ public:
virtual void OnBinaryDataInserted(BinaryNinja::BinaryView* data, uint64_t offset, size_t len) override;
virtual void OnBinaryDataRemoved(BinaryNinja::BinaryView* data, uint64_t offset, uint64_t len) override;
+ bool getShowExports() const { return m_funcList->getShowExports(); }
+ bool getShowImports() const { return m_funcList->getShowImports(); }
+ bool getShowFunctions() const { return m_funcList->getShowFunctions(); }
+ bool getShowDataVars() const { return m_funcList->getShowDataVars(); }
+
+ void toggleExports() { m_funcList->toggleExports(); }
+ void toggleImports() { m_funcList->toggleImports(); }
+ void toggleFunctions() { m_funcList->toggleFunctions(); }
+ void toggleDataVars() { m_funcList->toggleDataVars(); }
+
protected:
virtual void contextMenuEvent(QContextMenuEvent* event) override;
virtual void notifyFontChanged() override;