9 * Base class for something that can be added and deleted and every
10 * addition and deletion can be undone.
13 * @author Andrew Mustun
15 class RS_Undoable: public RS_Flags
19 virtual ~RS_Undoable();
21 virtual RS2::UndoableType undoRtti();
22 virtual void setUndoCycle(RS_UndoCycle * cycle);
23 virtual void changeUndoState();
24 virtual void setUndoState(bool undone);
25 virtual bool isUndone() const;
26 virtual void undoStateChanged(bool /*undone*/);
27 //friend std::ostream& operator << (std::ostream& os, RS_Undoable& a);