]> Shamusworld >> Repos - architektonas/blob - src/actions/actioneditundo.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / actions / actioneditundo.h
1 #ifndef __ACTIONEDITUNDO_H__
2 #define __ACTIONEDITUNDO_H__
3
4 #include "actioninterface.h"
5
6 /**
7  * This action class can handle user events for undo / redo.
8  *
9  * @author James Hammons
10  * @author Andrew Mustun
11  */
12 class ActionEditUndo: public ActionInterface
13 {
14         public:
15                 ActionEditUndo(bool undo, EntityContainer & container, GraphicView & graphicView);
16                 ~ActionEditUndo();
17
18                 virtual void init(int status = 0);
19                 virtual void trigger();
20
21         protected:
22                 /** Undo (true) or redo (false) */
23                 bool undo;
24 };
25
26 #endif  // __ACTIONEDITUNDO_H__