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