diff options
| author | Peter LaFosse <peter@vector35.com> | 2019-07-14 21:04:54 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2019-07-14 21:04:54 -0400 |
| commit | 85a3a322e029cb28cc2cda913fd2ccccfe0b9d3b (patch) | |
| tree | 9924e853ec39366391594b90ffe395b9b18483ba | |
| parent | a096663fc17d08af0bf2581150b618a1a8f09767 (diff) | |
Pass through ability to show imports/exports/etc
| -rw-r--r-- | ui/symbollist.h | 10 | ||||
| -rw-r--r-- | ui/symbolsview.h | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ui/symbollist.h b/ui/symbollist.h index e1edb6b5..dd3d9d3c 100644 --- a/ui/symbollist.h +++ b/ui/symbollist.h @@ -279,6 +279,16 @@ public: virtual bool canCopy(); void find(); + bool getShowExports() const { return m_list->getShowExports(); } + bool getShowImports() const { return m_list->getShowImports(); } + bool getShowFunctions() const { return m_list->getShowFunctions(); } + bool getShowDataVars() const { return m_list->getShowDataVars(); } + + void toggleExports() { m_list->toggleExports(); } + void toggleImports() { m_list->toggleImports(); } + void toggleFunctions() { m_list->toggleFunctions(); } + void toggleDataVars() { m_list->toggleDataVars(); } + protected: virtual void focusOutEvent(QFocusEvent* event) override; virtual void keyPressEvent(QKeyEvent* event) override; 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; |
