]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_creation.h
Refactoring: Moved RS_GraphicView to GraphicView.
[architektonas] / src / base / rs_creation.h
index e2a6c887e05e60fd7c833839fbadd4c13eda30f4..4e8cab83d616a8b610d0ec952f9ab31dae97745f 100644 (file)
@@ -1,11 +1,23 @@
 #ifndef RS_CREATION_H
 #define RS_CREATION_H
 
-#include "rs_entitycontainer.h"
-#include "rs_line.h"
-#include "rs_polyline.h"
-#include "rs_insert.h"
-#include "rs_image.h"
+#include <QtCore>
+#include "vector.h"
+
+class RS_Arc;
+class RS_Block;
+class RS_BlockData;
+class RS_Circle;
+class RS_Document;
+class Drawing;
+class RS_Entity;
+class RS_EntityContainer;
+class GraphicView;
+class RS_Image;
+class RS_ImageData;
+class RS_Insert;
+class RS_InsertData;
+class RS_Line;
 
 /**
  * Data needed to insert library items.
@@ -28,7 +40,7 @@ struct RS_LibraryInsertData
 class RS_Creation
 {
        public:
-               RS_Creation(RS_EntityContainer * container, RS_GraphicView * graphicView = NULL,
+               RS_Creation(RS_EntityContainer * container, GraphicView * graphicView = NULL,
                        bool handleUndo = true);
 
                RS_Entity * createParallelThrough(const Vector & coord, int number,
@@ -78,7 +90,7 @@ class RS_Creation
                RS_EntityContainer * container;
                Drawing * graphic;
                RS_Document * document;
-               RS_GraphicView * graphicView;
+               GraphicView * graphicView;
                bool handleUndo;
 };