10 * Base class for something that can be added and deleted and every
11 * addition and deletion can be undone.
14 * @author Andrew Mustun
16 class Undoable: public Flags
22 virtual RS2::UndoableType undoRtti();
23 virtual void setUndoCycle(UndoCycle * cycle);
24 virtual void changeUndoState();
25 virtual void setUndoState(bool undone);
26 virtual bool isUndone() const;
27 virtual void undoStateChanged(bool /*undone*/);
28 //friend std::ostream& operator << (std::ostream& os, Undoable& a);