summaryrefslogtreecommitdiff
path: root/ui/viewframe.h
diff options
context:
space:
mode:
authorBrian Knudson <bk@vector35.com>2021-03-18 11:23:59 -0400
committerBrian Knudson <bk@vector35.com>2021-03-18 14:38:06 -0400
commit4bc108e48a80aed3c59ca9c03867b7a312392e97 (patch)
tree017da2e02940ce9e89314dfdb0b88ced248c290d /ui/viewframe.h
parentca369aced1654ffe89d473a03ff2ac1b54bf1200 (diff)
Add Go to File Offset action
Diffstat (limited to 'ui/viewframe.h')
-rw-r--r--ui/viewframe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/viewframe.h b/ui/viewframe.h
index 0f86aa2b..09d3376c 100644
--- a/ui/viewframe.h
+++ b/ui/viewframe.h
@@ -352,6 +352,8 @@ public:
uint64_t currentAddress, const QString& addrStr, std::string& errorString);
static bool getAddressFromInput(QWidget* parent, BinaryViewRef data, uint64_t& offset,
uint64_t currentAddress, const QString& title = "Go to Address", const QString& msg = "Address:", bool defaultToCurrent = false);
+ static bool getFileOffsetFromInput(QWidget* parent, BinaryViewRef data, uint64_t& offset,
+ uint64_t currentAddress, const QString& title = "Go to File Offset", const QString& msg = "File Offset:", bool defaultToCurrent = false);
void setCurrentFunction(FunctionRef func);
void updateCrossReferences();