1 #ifndef RS_ACTIONSETSNAPRESTRICTION_H
2 #define RS_ACTIONSETSNAPRESTRICTION_H
5 #include "rs_actioninterface.h"
8 * This action changes the current additional snap mode.
10 * @author Andrew Mustun
12 class RS_ActionSetSnapRestriction: public RS_ActionInterface
15 RS_ActionSetSnapRestriction(RS_EntityContainer & container, GraphicView & graphicView, RS2::SnapRestriction snapRes);
16 ~RS_ActionSetSnapRestriction();
18 virtual void init(int status = 0);
19 virtual void trigger();
22 RS2::SnapRestriction snapRes;