]> Shamusworld >> Repos - architektonas/blob - src/actions/rs_actionmodifydelete.h
Refactoring: Moved RS_GraphicView to GraphicView.
[architektonas] / src / actions / rs_actionmodifydelete.h
1 #ifndef RS_ACTIONMODIFYDELETE_H
2 #define RS_ACTIONMODIFYDELETE_H
3
4 #include "rs_actioninterface.h"
5
6 /**
7  * This action class can handle user events to delete entities.
8  *
9  * @author Andrew Mustun
10  */
11 class RS_ActionModifyDelete: public RS_ActionInterface
12 {
13         public:
14                 /**
15                  * Action States.
16                  */
17                 enum Status {
18                         Acknowledge /**< Acknowledge or cancel. */
19                 };
20
21         public:
22                 RS_ActionModifyDelete(RS_EntityContainer & container, GraphicView & graphicView);
23                 ~RS_ActionModifyDelete();
24
25                 virtual void init(int status = 0);
26                 virtual void trigger();
27                 virtual void updateMouseButtonHints();
28                 virtual void updateMouseCursor();
29                 virtual void updateToolBar();
30 };
31
32 #endif