Laxkit  0.0.7.1
Public Member Functions | Public Attributes
Laxkit::UndoData Class Reference

Undo node for UndoManager. More...

Inheritance diagram for Laxkit::UndoData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~UndoData ()
virtual int isUndoable ()
virtual int isRedoable ()
virtual const charDescription ()=0

Public Attributes

Undoablecontext
anObjectdata
clock_t time
int direction
int isauto
UndoDataprev
UndoDatanext

Detailed Description

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.


Constructor & Destructor Documentation

Laxkit::UndoData::~UndoData ( )
virtual

If prev==NULL, then delete next, else just remove *this from chain.


The documentation for this class was generated from the following files:

Mon Feb 17 2014 11:53:00, Laxkit