diff options
| author | Josh F <josh@vector35.com> | 2022-07-04 19:29:48 -0400 |
|---|---|---|
| committer | Josh F <josh@vector35.com> | 2022-07-04 19:29:48 -0400 |
| commit | 9d35fc4b596df313b99d0c4924f54228f5910f32 (patch) | |
| tree | a6399409f81cb3b9404a8fa078174bdbee2a42f2 /binaryninjaapi.h | |
| parent | 1c436100642605add5f746ee1c31590f8328b270 (diff) | |
Add CanUndo,CanRedo,GetRedoEntries
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<Ref<User>> GetUsers(); std::vector<UndoEntry> GetUndoEntries(); + std::vector<UndoEntry> 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(); |
