reworked includes

Fri, 23 Mar 2018 22:00:34 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Fri, 23 Mar 2018 22:00:34 +0200
changeset 1316
31f4293cec30
parent 1315
23d48a709ffc
child 1317
845c340fe71b

reworked includes

src/format.h file | annotate | diff | comparison | revisions
src/linetypes/modelobject.h file | annotate | diff | comparison | revisions
src/main.h file | annotate | diff | comparison | revisions
src/serializer.h file | annotate | diff | comparison | revisions
src/types/matrix.h file | annotate | diff | comparison | revisions
--- a/src/format.h	Fri Mar 23 21:53:03 2018 +0200
+++ b/src/format.h	Fri Mar 23 22:00:34 2018 +0200
@@ -23,6 +23,7 @@
 #include "basics.h"
 #include "colors.h"
 #include "types/matrix.h"
+#include "types/vertex.h"
 
 // Converts a given value into a string that can be retrieved with text().
 // Used as the argument type to the formatting functions, hence its name.
--- a/src/linetypes/modelobject.h	Fri Mar 23 21:53:03 2018 +0200
+++ b/src/linetypes/modelobject.h	Fri Mar 23 22:00:34 2018 +0200
@@ -24,6 +24,7 @@
 class Model;
 class LDDocument;
 class DocumentManager;
+struct LDPolygon;
 
 /*
  * Object type codes.
--- a/src/main.h	Fri Mar 23 21:53:03 2018 +0200
+++ b/src/main.h	Fri Mar 23 22:00:34 2018 +0200
@@ -28,6 +28,7 @@
 #include <QSet>
 #include <QString>
 #include <QTextFormat>
+#include <QVariant>
 #include "macros.h"
 #include "version.h"
 #include "format.h"
--- a/src/serializer.h	Fri Mar 23 21:53:03 2018 +0200
+++ b/src/serializer.h	Fri Mar 23 22:00:34 2018 +0200
@@ -19,6 +19,7 @@
 #pragma once
 #include "main.h"
 
+class LDObject;
 using LDObjectState = QVector<QVariant>;
 
 class Serializer
--- a/src/types/matrix.h	Fri Mar 23 21:53:03 2018 +0200
+++ b/src/types/matrix.h	Fri Mar 23 22:00:34 2018 +0200
@@ -18,10 +18,10 @@
 
 #pragma once
 #include <QString>
-#include "../glShared.h"
+#include <QMetaType>
 
 /*
- * A mathematical 3 x 3 matrix
+ * A mathematical 3 × 3 matrix
  */
 class Matrix
 {

mercurial