]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_actioninterface.cpp
Refactored CAD tool bars to use predefined actions.
[architektonas] / src / base / rs_actioninterface.cpp
index 9d4f4e55ef90afae8b304dfe2aab0147b21b9155..7a885f8f85f770b40868d69497ce4737a2fcc35d 100644 (file)
 
 #include "rs_actioninterface.h"
 
+#include "commands.h"
+#include "rs_debug.h"
+#include "rs_entitycontainer.h"
+#include "graphicview.h"
+
 /**
  * Constructor.
  *
@@ -31,7 +36,7 @@
  *               be reset to the one given here.
  */
 RS_ActionInterface::RS_ActionInterface(const char * name,
-       RS_EntityContainer & container, RS_GraphicView & graphicView):
+       RS_EntityContainer & container, GraphicView & graphicView):
        RS_Snapper(container, graphicView)
 {
        RS_DEBUG->print("RS_ActionInterface::RS_ActionInterface: Setting up action: \"%s\"", name);
@@ -60,9 +65,9 @@ RS_ActionInterface::RS_ActionInterface(const char * name,
  */
 RS_ActionInterface::~RS_ActionInterface()
 {
-//JLH: Only it isn't pure virtual...
        // would be pure virtual now:
        // hideOptions();
+//JLH: Only it isn't pure virtual...
 }
 
 /**
@@ -158,7 +163,8 @@ void RS_ActionInterface::keyReleaseEvent(QKeyEvent * e)
  * This function can be overwritten by the implementing action.
  * The default implementation does nothing.
  */
-void RS_ActionInterface::coordinateEvent(RS_CoordinateEvent *)
+//void RS_ActionInterface::coordinateEvent(RS_CoordinateEvent *)
+void RS_ActionInterface::coordinateEvent(Vector *)
 {
 }