summaryrefslogtreecommitdiff
path: root/ui/uicontext.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-02-01 11:35:10 -0500
committerPeter LaFosse <peter@vector35.com>2022-03-16 08:05:27 -0400
commit5ce116e4d1d3c30537f3635c06d7a0c619e55e43 (patch)
treedd96aa9d6b55b26dd247cd0b7e4d0bdfc6a15681 /ui/uicontext.h
parentefb5d8ba056fbae3f57a80f813a18c4a6da60f28 (diff)
Add support for structured logging
Diffstat (limited to 'ui/uicontext.h')
-rw-r--r--ui/uicontext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/uicontext.h b/ui/uicontext.h
index 44c1e53d..94b05b05 100644
--- a/ui/uicontext.h
+++ b/ui/uicontext.h
@@ -339,6 +339,8 @@ class BINARYNINJAUIAPI UIContext
*/
virtual QWidget* getCurrentTab() = 0;
+ virtual QWidget* createNewTab(bool focus = true) = 0;
+
/*!
Get the current View associated with the given QWidget, if it exists
\param tab QWidget which could be a ViewFrame