1 #ifndef RS_ACTIONEDITUNDO_H
2 #define RS_ACTIONEDITUNDO_H
4 #include "rs_actioninterface.h"
8 * This action class can handle user events for undo / redo.
10 * @author Andrew Mustun
12 class RS_ActionEditUndo : public RS_ActionInterface
16 RS_ActionEditUndo(bool undo, RS_EntityContainer & container,
17 RS_GraphicView & graphicView);
20 static QAction * createGUIAction(RS2::ActionType type, QObject * parent);
22 virtual void init(int status = 0);
23 virtual void trigger();
26 /** Undo (true) or redo (false) */