HDK
|
#include <CH_UndoEventHandler.h>
Classes | |
class | Scope |
Public Member Functions | |
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 () |
Static Public Member Functions | |
static int | start () |
static void | stop (int level) |
Friends | |
class | CH_UndoEventHandler::Scope |
Additional Inherited Members | |
Protected Member Functions inherited from UT_Undo | |
void | generateTmpFilename (const char *prefix, UT_String &filename) |
Creates an event handler into the undo manager to minimize sent events. To use this, create a CH_UndoEventHandler::Scope object on the stack to encapsulate the undo actions that we want to batch events for. If the actions span multiple function calls, use matching undoBegin()/undoEnd() invocations.
Definition at line 24 of file CH_UndoEventHandler.h.
|
inlinestatic |
Definition at line 43 of file CH_UndoEventHandler.h.
Definition at line 51 of file CH_UndoEventHandler.h.
|
friend |
Definition at line 68 of file CH_UndoEventHandler.h.