#include <iundo.h>
Public Member Functions | |
virtual | ~UndoTracker () |
virtual void | clear ()=0 |
called whenever tracker system should be reseted | |
virtual void | clearRedo ()=0 |
called whenever redo states should be reseted | |
virtual void | begin ()=0 |
called right before a new action is called, should be used to save current state (e.g. in an UndoMememto) | |
virtual void | undo ()=0 |
called whenever an older state should be retrieved | |
virtual void | redo ()=0 |
called whenever a previously recorded action is about to be replayed to regenerate a state after undo |
Definition at line 93 of file iundo.h.
virtual void UndoTracker::begin | ( | ) | [pure virtual] |
called right before a new action is called, should be used to save current state (e.g. in an UndoMememto)
Implemented in UndoFileChangeTracker, and UndoSaveStateTracker.
virtual void UndoTracker::clear | ( | ) | [pure virtual] |
called whenever tracker system should be reseted
Implemented in UndoFileChangeTracker, and UndoSaveStateTracker.
virtual void UndoTracker::clearRedo | ( | ) | [pure virtual] |
called whenever redo states should be reseted
Implemented in UndoFileChangeTracker, and UndoSaveStateTracker.
virtual void UndoTracker::redo | ( | ) | [pure virtual] |
called whenever a previously recorded action is about to be replayed to regenerate a state after undo
Implemented in UndoFileChangeTracker, and UndoSaveStateTracker.
virtual void UndoTracker::undo | ( | ) | [pure virtual] |
called whenever an older state should be retrieved
Implemented in UndoFileChangeTracker, and UndoSaveStateTracker.