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 RS_Undoable: public RS_Flags
20 virtual ~RS_Undoable();
22 virtual RS2::UndoableType undoRtti();
23 virtual void setUndoCycle(RS_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, RS_Undoable& a);