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