IDA C++ SDK 9.2
Loading...
Searching...
No Matches
undo.hpp
Go to the documentation of this file.
1/*
2 * Interactive disassembler (IDA).
3 * Copyright (c) 2005-2025 Hex-Rays SA <support@hex-rays.com>
4 * ALL RIGHTS RESERVED.
5 *
6 * Undo functionality.
7 *
8 * Glossary:
9 *
10 * undo point: a point in the undo history to which it is possible
11 * to return.
12 * undo record: record in the undo history about one chunk of a change.
13 * each record has an undo code, which determines the nature
14 * of the change and the undo handler.
15 *
16 */
17
18#ifndef _UNDO_HPP
19#define _UNDO_HPP
20
26idaman bool ida_export create_undo_point(const uchar *bytes, size_t size);
27
31idaman bool ida_export get_undo_action_label(qstring *action_to_be_undone);
32
36idaman bool ida_export get_redo_action_label(qstring *action_to_be_redone);
37
40idaman bool ida_export perform_undo();
41
44idaman bool ida_export perform_redo();
45
46#endif // _UNDO_HPP
asize_t size
Definition kernwin.hpp:6339
unsigned char uchar
unsigned 8 bit value
Definition pro.h:337
_qstring< char > qstring
regular string
Definition pro.h:3694
idaman bool ida_export perform_redo()
Perform redo.
idaman bool ida_export perform_undo()
Perform undo.
idaman bool ida_export get_redo_action_label(qstring *action_to_be_redone)
Get the label of the action that will be redone.
idaman bool ida_export create_undo_point(const uchar *bytes, size_t size)
Create a new restore point.
idaman bool ida_export get_undo_action_label(qstring *action_to_be_undone)
Get the label of the action that will be undone.