40 bool AnythingToUndo();
41 bool AnythingToRedo();
42 void InvalidateRedo();
43 void InvalidateUndo();
45 bool InUndoableAction() {
return isInsideUndoableAction; }
48 bool UndoLastAction();
49 bool RedoNextAction();
50 bool BeforeUndoableAction(UndoType type, UndoItemPointer before,
51 UndoBeforePointerType beforeType,
52 UndoItemPointer selectable);
53 bool AfterUndoableAction(UndoItemPointer after);
54 bool CancelUndoableAction(
bool noDataDelete =
false);
59 bool isInsideUndoableAction;
61 unsigned int stackpointer;
62 unsigned int depthSetting;
63 std::deque<UndoAction*> undoStack;