|
Laxkit
0.0.7.1
|
Undo node for UndoManager. More...

Public Member Functions | |
| virtual | ~UndoData () |
| virtual int | isUndoable () |
| virtual int | isRedoable () |
| virtual const char * | Description ()=0 |
Public Attributes | |
| Undoable * | context |
| anObject * | data |
| clock_t | time |
| int | direction |
| int | isauto |
| UndoData * | prev |
| UndoData * | next |
Undo node for UndoManager.
Objects classed from this will be passed to Undoable objects to either undo or redo. If direction is 1, then the item is undoable, else 2 is redoable.
Subclasses must provide enough information to either redo OR undo, otherwise modify the data to reflect what must be done after Undoable::Undo() or Redo() is called.
|
virtual |
If prev==NULL, then delete next, else just remove *this from chain.