]> Shamusworld >> Repos - architektonas/blob - src/actions/rs_actioneditundo.h
Last checkin before major refactor...
[architektonas] / src / actions / rs_actioneditundo.h
1 #ifndef RS_ACTIONEDITUNDO_H
2 #define RS_ACTIONEDITUNDO_H
3
4 #include "rs_actioninterface.h"
5
6 /**
7  * This action class can handle user events for undo / redo.
8  *
9  * @author Andrew Mustun
10  */
11 class RS_ActionEditUndo: public RS_ActionInterface
12 {
13         public:
14                 RS_ActionEditUndo(bool undo, RS_EntityContainer & container, GraphicView & graphicView);
15                 ~RS_ActionEditUndo();
16
17                 virtual void init(int status = 0);
18                 virtual void trigger();
19
20         protected:
21                 /** Undo (true) or redo (false) */
22                 bool undo;
23 };
24
25 #endif