IMvcUndoRedo Class

class IMvcUndoRedo

Interface for classes that support command execution and undo/redo

Defined in: MvcIfcs.h

Class Members

virtual BOOL Do(MvcCommand* pCmd)

Execute and log a command

virtual MvcCommand* Undo()

Undo a command

virtual MvcCommand* Redo()

Redo a command

virtual MvcCommand* PeekUndo()

What is the next command on the undo stack

virtual MvcCommand* PeekRedo()

What is the next command on the redo stack