summaryrefslogtreecommitdiff
path: root/ui/disassemblyview.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2021-05-03 21:59:01 -0400
committerGlenn Smith <glenn@vector35.com>2021-05-05 17:10:24 -0400
commit05beb084e1973766202677bf85ee7a387bc7bc26 (patch)
tree1ac3ca436b0eea1a13f2220fa9340a875b615655 /ui/disassemblyview.h
parent447dc5e66e7a5bdff9dbed299b46e229567a64ef (diff)
Ser/des history entries
Closes #2410
Diffstat (limited to 'ui/disassemblyview.h')
-rw-r--r--ui/disassemblyview.h7
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;