summaryrefslogtreecommitdiff
path: root/ui/uicontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/uicontext.h')
-rw-r--r--ui/uicontext.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/uicontext.h b/ui/uicontext.h
index 94b05b05..6a139dd6 100644
--- a/ui/uicontext.h
+++ b/ui/uicontext.h
@@ -272,6 +272,16 @@ class BINARYNINJAUIAPI UIContext
virtual std::vector<std::pair<BinaryViewRef, QString>> getAvailableBinaryViews() = 0;
/*!
+ Gets the tab for for a given sessionId
+ */
+ virtual QWidget* getTabForSessionId(uint64_t sessionId) = 0;
+
+ /*!
+ Gets the name of a tab for the given session
+ */
+ virtual QString getTabNameForSessionId(uint64_t sessionId) = 0;
+
+ /*!
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
*/