The interface for undoable IRules. Some IRules should be undoable by the user. By implementing this interface, an IRule can declare that it has the possibility of being undone. The CanUndo function then gives the actual undoableness of the IRule when queried.
IUndoable.h
Returns whether the IRule can be undone. |
| virtual bool CanUndo() const=0 |
| virtual ~IUndoable()=0 |