]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionblockscreate.h
In the middle of major refactoring...
[architektonas] / src / actions / actionblockscreate.h
similarity index 61%
rename from src/actions/rs_actionblockscreate.h
rename to src/actions/actionblockscreate.h
index dacd03c2d541a133ad762ef4823761c2e02d0be0..27a462a3cc079dc3b197a9f00dab913d7e54e3b3 100644 (file)
@@ -1,15 +1,17 @@
-#ifndef RS_ACTIONBLOCKSCREATE_H
-#define RS_ACTIONBLOCKSCREATE_H
+#ifndef __ACTIONBLOCKSCREATE_H__
+#define __ACTIONBLOCKSCREATE_H__
 
-#include "rs_previewactioninterface.h"
+#include "actioninterface.h"
+#include "vector.h"
 
 /**
  * This action class can handle user events for creating blocks from
  * existing entities.
  *
+ * @author James Hammons
  * @author Andrew Mustun
  */
-class RS_ActionBlocksCreate: public RS_PreviewActionInterface
+class ActionBlocksCreate: public ActionInterface
 {
        public:
                /**
@@ -21,8 +23,8 @@ class RS_ActionBlocksCreate: public RS_PreviewActionInterface
                };
 
        public:
-               RS_ActionBlocksCreate(RS_EntityContainer & container, GraphicView & graphicView);
-               ~RS_ActionBlocksCreate();
+               ActionBlocksCreate(RS_EntityContainer & container, GraphicView & graphicView);
+               ~ActionBlocksCreate();
 
                virtual RS2::ActionType rtti();
                virtual void init(int status = 0);
@@ -30,10 +32,6 @@ class RS_ActionBlocksCreate: public RS_PreviewActionInterface
                virtual void mouseMoveEvent(QMouseEvent * e);
                virtual void mouseReleaseEvent(QMouseEvent * e);
                virtual void coordinateEvent(Vector * e);
-               //virtual void commandEvent(RS_CommandEvent * e);
-               //virtual QStringList getAvailableCommands();
-               //virtual void showOptions();
-               //virtual void hideOptions();
                virtual void updateMouseButtonHints();
                virtual void updateMouseCursor();
                virtual void updateToolBar();
@@ -42,4 +40,4 @@ class RS_ActionBlocksCreate: public RS_PreviewActionInterface
                Vector referencePoint;
 };
 
-#endif
+#endif // __ACTIONBLOCKSCREATE_H__