]> Shamusworld >> Repos - architektonas/blob - src/actions/actionsetsnapmode.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / actions / actionsetsnapmode.h
1 #ifndef __ACTIONSETSNAPMODE_H__
2 #define __ACTIONSETSNAPMODE_H__
3
4 #include "enums.h"
5 #include "actioninterface.h"
6
7 /**
8  * This action changes the current snap mode.
9  *
10  * @author James Hammons
11  * @author Andrew Mustun
12  */
13 class ActionSetSnapMode: public ActionInterface
14 {
15         public:
16                 ActionSetSnapMode(EntityContainer & container, GraphicView & graphicView, RS2::SnapMode snapMode);
17                 ~ActionSetSnapMode();
18
19                 virtual void init(int status = 0);
20                 virtual void trigger();
21
22         protected:
23                 RS2::SnapMode snapMode;
24 };
25
26 #endif  // __ACTIONSETSNAPMODE_H__