summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/flowgraphwidget.h2
-rw-r--r--ui/linearview.h1
-rw-r--r--ui/tokenizedtextview.h1
-rw-r--r--ui/uicontext.h7
4 files changed, 7 insertions, 4 deletions
diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h
index c69f8ea7..08c41b7d 100644
--- a/ui/flowgraphwidget.h
+++ b/ui/flowgraphwidget.h
@@ -281,8 +281,6 @@ class BINARYNINJAUIAPI FlowGraphWidget :
void showLineInNode(FlowGraphNodeRef node, size_t lineIndex);
void ensureCursorVisible();
- void viewInTypesView(std::string typeName, uint64_t offset = 0);
-
void setInstructionHighlight(BNHighlightColor color);
void setBlockHighlight(BNHighlightColor color);
diff --git a/ui/linearview.h b/ui/linearview.h
index 85fb0d5a..2e591fdc 100644
--- a/ui/linearview.h
+++ b/ui/linearview.h
@@ -260,7 +260,6 @@ private Q_SLOTS:
void adjustSize(int width, int height);
void viewInHexEditor();
void viewInGraph();
- void viewInTypesView(std::string typeName = "", uint64_t offset = 0);
void cycleILView(bool forward);
void copyAddressSlot();
void goToAddress();
diff --git a/ui/tokenizedtextview.h b/ui/tokenizedtextview.h
index 86ec5915..3bfd091c 100644
--- a/ui/tokenizedtextview.h
+++ b/ui/tokenizedtextview.h
@@ -69,7 +69,6 @@ class BINARYNINJAUIAPI TokenizedTextView :
void viewInHexEditor();
void viewInGraph();
- void viewInTypesView(std::string typeName = "", uint64_t offset = 0);
void goToAddress();
void defineNameAtAddr(uint64_t addr);
void defineName();
diff --git a/ui/uicontext.h b/ui/uicontext.h
index 070f59cb..424411ab 100644
--- a/ui/uicontext.h
+++ b/ui/uicontext.h
@@ -264,6 +264,13 @@ class BINARYNINJAUIAPI UIContext
virtual QMainWindow* mainWindow() = 0;
virtual void viewChanged(ViewFrame* frame, const QString& type);
virtual bool navigateForBinaryView(BinaryViewRef view, uint64_t addr);
+ /*!
+ Navigate to a named type in the context, optionally at a member offset
+ \param name Name of type to which to navigate
+ \param offset Offset of member in type to which to navigate
+ \return True if navigation succeeded
+ */
+ virtual bool navigateToType(const std::string& name, uint64_t offset = 0) = 0;
/*!
Get a list of all opened binary views, and their names