]> Shamusworld >> Repos - architektonas/blob - src/actions/rs_actionsetsnapmode.h
Last checkin before major refactor...
[architektonas] / src / actions / rs_actionsetsnapmode.h
1 #ifndef RS_ACTIONSETSNAPMODE_H
2 #define RS_ACTIONSETSNAPMODE_H
3
4 #include "rs.h"
5 #include "rs_actioninterface.h"
6
7 /**
8  * This action changes the current snap mode.
9  *
10  * @author Andrew Mustun
11  */
12 class RS_ActionSetSnapMode: public RS_ActionInterface
13 {
14         public:
15                 RS_ActionSetSnapMode(RS_EntityContainer & container, GraphicView & graphicView, RS2::SnapMode snapMode);
16                 ~RS_ActionSetSnapMode();
17
18                 virtual void init(int status = 0);
19                 virtual void trigger();
20
21         protected:
22                 RS2::SnapMode snapMode;
23 };
24
25 #endif