]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_grid.cpp
Adding missing implementation.
[architektonas] / src / base / rs_grid.cpp
index 3f2252a0378c4dcc0731ba14348318c0150d03d0..b12f7c81ca31bbb7c334c7c844a5b724a7221e73 100644 (file)
@@ -3,7 +3,9 @@
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // Extensively rewritten and refactored by James L. Hammons
-// (C) 2010 Underground Software
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
 
 #include "rs_grid.h"
 
-#include "rs_units.h"
 #include "drawing.h"
+#include "graphicview.h"
+//#include "rs_graphicview.h"
 #include "settings.h"
+#include "rs_units.h"
+#include "vector.h"
 
+#warning "!!! Clean out all references to RS_GraphicView here and in header !!!"
+#if 0
 /**
  * Constructor.
  */
@@ -25,6 +32,15 @@ RS_Grid::RS_Grid(RS_GraphicView * gv): graphicView(gv), pt(NULL), number(0),
        metaX(NULL), numMetaX(0), metaY(NULL), numMetaY(0)
 {
 }
+#endif
+
+/**
+ * Constructor II.
+ */
+RS_Grid::RS_Grid(GraphicView * gv): graphicView(gv), pt(NULL), number(0),
+       metaX(NULL), numMetaX(0), metaY(NULL), numMetaY(0)
+{
+}
 
 /**
  * Destructor.