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