diff options
| author | Glenn Smith <glenn@vector35.com> | 2021-05-03 21:59:01 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2021-05-05 17:10:24 -0400 |
| commit | 05beb084e1973766202677bf85ee7a387bc7bc26 (patch) | |
| tree | 1ac3ca436b0eea1a13f2220fa9340a875b615655 /ui/disassemblyview.h | |
| parent | 447dc5e66e7a5bdff9dbed299b46e229567a64ef (diff) | |
Ser/des history entries
Closes #2410
Diffstat (limited to 'ui/disassemblyview.h')
| -rw-r--r-- | ui/disassemblyview.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/disassemblyview.h b/ui/disassemblyview.h index cf3103eb..4f200c54 100644 --- a/ui/disassemblyview.h +++ b/ui/disassemblyview.h @@ -24,6 +24,9 @@ class BINARYNINJAUIAPI DisassemblyHistoryEntry: public FlowGraphHistoryEntry public: BNFunctionGraphType getGraphType() const { return m_graphType; } void setGraphType(BNFunctionGraphType type) { m_graphType = type; } + + virtual Json::Value serialize() const override; + virtual bool deserialize(const Json::Value& value) override; }; class DisassemblyContainer; @@ -44,8 +47,8 @@ public: virtual bool navigateToFunction(FunctionRef func, uint64_t pos) override; virtual bool navigateToViewLocation(const ViewLocation& viewLocation) override; - virtual HistoryEntry* getHistoryEntry() override; - virtual void navigateToHistoryEntry(HistoryEntry* entry) override; + virtual BinaryNinja::Ref<HistoryEntry> getHistoryEntry() override; + virtual void navigateToHistoryEntry(BinaryNinja::Ref<HistoryEntry> entry) override; virtual StatusBarWidget* getStatusBarWidget() override; |
