summaryrefslogtreecommitdiff
path: root/ui/viewframe.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/viewframe.h')
-rw-r--r--ui/viewframe.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/ui/viewframe.h b/ui/viewframe.h
index 688a5a21..55d39a57 100644
--- a/ui/viewframe.h
+++ b/ui/viewframe.h
@@ -214,11 +214,11 @@ public:
QWidget* getExtendedView(const QString& name, bool create = false);
- bool navigate(const QString& type, uint64_t offset, bool updateInfo = true);
- bool navigate(const QString& type, const std::function<bool(View*)>& handler, bool updateInfo = true);
- bool navigate(BinaryViewRef data, uint64_t offset, bool updateInfo = true);
- bool navigateToFunction(FunctionRef func, uint64_t offset, bool updateInfo = true);
- bool goToReference(BinaryViewRef data, FunctionRef func, uint64_t source, uint64_t target);
+ bool navigate(const QString& type, uint64_t offset, bool updateInfo = true, bool addHistoryEntry = true);
+ bool navigate(const QString& type, const std::function<bool(View*)>& handler, bool updateInfo = true, bool addHistoryEntry = true);
+ bool navigate(BinaryViewRef data, uint64_t offset, bool updateInfo = true, bool addHistoryEntry = true);
+ bool navigateToFunction(FunctionRef func, uint64_t offset, bool updateInfo = true, bool addHistoryEntry = true);
+ bool goToReference(BinaryViewRef data, FunctionRef func, uint64_t source, uint64_t target, bool addHistoryEntry = true);
QString getTypeForView(QWidget* view);
QString getDataTypeForView(const QString& type);
QString getDataTypeForView(QWidget* view);
@@ -241,6 +241,8 @@ public:
void updateFeatureMapLocation(View* view);
void updateCrossReferences();
void showCrossReferences();
+ void nextCrossReference();
+ void prevCrossReference();
virtual UIActionContext actionContext();
void bindActions();