From 9d35fc4b596df313b99d0c4924f54228f5910f32 Mon Sep 17 00:00:00 2001 From: Josh F Date: Mon, 4 Jul 2022 19:29:48 -0400 Subject: Add CanUndo,CanRedo,GetRedoEntries --- binaryninjaapi.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 8433b1d1..8c3c8a1a 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -1071,11 +1071,14 @@ namespace BinaryNinja { void BeginUndoActions(); void CommitUndoActions(); + bool CanUndo(); bool Undo(); + bool CanRedo(); bool Redo(); std::vector> GetUsers(); std::vector GetUndoEntries(); + std::vector GetRedoEntries(); void ClearUndoEntries(); bool OpenProject(); @@ -1870,7 +1873,9 @@ namespace BinaryNinja { void AddUndoAction(UndoAction* action); void CommitUndoActions(); + bool CanUndo(); bool Undo(); + bool CanRedo(); bool Redo(); std::string GetCurrentView(); -- cgit v1.3.1