HDK
|
#include <CH_UndoBookmark.h>
Public Types | |
enum | Operation { Operation::Create, Operation::Modify, Operation::Delete } |
Public Member Functions | |
CH_UndoBookmark (CH_Bookmark *bookmark, int bookmark_index, Operation operation, bool metadata_changed=false) | |
~CH_UndoBookmark () override | |
void | undo () override |
void | redo () override |
Public Member Functions inherited from UT_Undo | |
UT_Undo () | |
virtual | ~UT_Undo () |
virtual bool | isValid () |
virtual bool | needToUndo () |
virtual bool | needToRedo () |
virtual int | isUndoBlock () const |
virtual int64 | getMemoryUsage () |
void | addToMemoryUsage (int64 k) |
void | setMemoryUsage (int64 k) |
void | setNextUndo (UT_Undo *nundo) |
UT_Undo * | getNextUndo () |
Additional Inherited Members | |
Protected Member Functions inherited from UT_Undo | |
void | generateTmpFilename (const char *prefix, UT_String &filename) |
Definition at line 27 of file CH_UndoBookmark.h.
|
strong |
Enumerator | |
---|---|
Create | |
Modify | |
Delete |
Definition at line 30 of file CH_UndoBookmark.h.
CH_UndoBookmark::CH_UndoBookmark | ( | CH_Bookmark * | bookmark, |
int | bookmark_index, | ||
Operation | operation, | ||
bool | metadata_changed = false |
||
) |
|
override |