diff options
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/uicontext.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/uicontext.h b/ui/uicontext.h index bfa265a9..b59db8b1 100644 --- a/ui/uicontext.h +++ b/ui/uicontext.h @@ -449,11 +449,13 @@ public: Get the currently visible View for the currently visible ViewFrame (if it exists) \return Current View or nullptr if the current ViewFrame is null or does not have a View */ + virtual View* getCurrentView() = 0; /*! Get the currently visible ViewFrame (if it exists) \return Current ViewFrame or nullptr if the current widget does not have a ViewFrame */ + virtual ViewFrame* getCurrentViewFrame() = 0; /*! Get the current Action Handler for the focused widget @@ -462,6 +464,13 @@ public: virtual UIActionHandler* getCurrentActionHandler() = 0; /*! + Rebase the current BinaryView to a new address, updating the UI appropriately. + \param address New address for rebasing the current BinaryView + \return True if the rebase was successful, false otherwise + */ + virtual bool rebaseCurrentView(uint64_t address) = 0; + + /*! Open a tab containing the given widget with the given name \param name Name for tab \param widget Widget to display in the tab (optionally a ViewFrame) |
