Cafu Engine
CommandHistoryT Class Reference

Public Member Functions

bool SubmitCommand (CommandT *Command)
 
void Undo ()
 
void Redo ()
 
const CommandTGetUndoCommand () const
 Returns the next command in the history that can be undone, or NULL if there is none. Only commands that are shown in history are taken into account. More...
 
const CommandTGetRedoCommand () const
 Returns the next command in the history that can be redone, or NULL if there is none. Only commands that are shown in history are taken into account. More...
 
unsigned long GetLastSaveSuggestedCommandID () const
 

Member Function Documentation

const CommandT * CommandHistoryT::GetRedoCommand ( ) const

Returns the next command in the history that can be redone, or NULL if there is none. Only commands that are shown in history are taken into account.

const CommandT * CommandHistoryT::GetUndoCommand ( ) const

Returns the next command in the history that can be undone, or NULL if there is none. Only commands that are shown in history are taken into account.


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