62 bool AnythingToUndo();
63 bool AnythingToRedo();
64 void InvalidateRedo();
65 void InvalidateUndo();
67 bool InUndoableAction() {
return isInsideUndoableAction; }
70 bool UndoLastAction();
71 bool RedoNextAction();
72 bool BeforeUndoableAction(UndoType type, UndoItemPointer before,
73 UndoBeforePointerType beforeType,
74 UndoItemPointer selectable);
75 bool AfterUndoableAction(UndoItemPointer after);
76 bool CancelUndoableAction(
bool noDataDelete =
false);
81 bool isInsideUndoableAction;
83 unsigned int stackpointer;
84 unsigned int depthSetting;
85 std::deque<UndoAction*> undoStack;