From 85a3a322e029cb28cc2cda913fd2ccccfe0b9d3b Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Sun, 14 Jul 2019 21:04:54 -0400 Subject: Pass through ability to show imports/exports/etc --- ui/symbolsview.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ui/symbolsview.h') 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; -- cgit v1.3.1