-#ifndef RS_ACTIONDRAWLINEANGLE_H
-#define RS_ACTIONDRAWLINEANGLE_H
+#ifndef __ACTIONDRAWLINEANGLE_H__
+#define __ACTIONDRAWLINEANGLE_H__
#include "rs_line.h"
-#include "rs_previewactioninterface.h"
+#include "actioninterface.h"
#include "vector.h"
/**
- * This action class can handle user events to draw
- * simple lines at a gien angle.
+ * This action class can handle user events to draw simple lines at a given
+ * angle.
*
+ * @author James Hammons
* @author Andrew Mustun
*/
-class RS_ActionDrawLineAngle: public RS_PreviewActionInterface
+class ActionDrawLineAngle: public ActionInterface
{
public:
/**
SetLength /**< Setting length in the command line. */
};
- RS_ActionDrawLineAngle(RS_EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false);
- ~RS_ActionDrawLineAngle();
+ ActionDrawLineAngle(RS_EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false);
+ ~ActionDrawLineAngle();
virtual RS2::ActionType rtti();
void reset();
int snpPoint;
};
-#endif
-
+#endif // __ACTIONDRAWLINEANGLE_H__