src/basics.h

changeset 784
f82ab4d3c7b4
parent 768
29e6c5552388
child 789
4b7306f52bb5
--- a/src/basics.h	Sun Jun 01 03:15:36 2014 +0300
+++ b/src/basics.h	Mon Jun 02 12:50:40 2014 +0300
@@ -29,6 +29,7 @@
 class QFile;
 class QTextStream;
 class Matrix;
+class LDDocument;
 
 using int8 = qint8;
 using int16 = qint16;
@@ -43,6 +44,8 @@
 using LDObjectList = QList<LDObjectPtr>;
 using LDObjectWeakPtr = QWeakPointer<LDObject>;
 using LDObjectWeakList = QList<LDObjectWeakPtr>;
+using LDDocumentPtr = QSharedPointer<LDDocument>;
+using LDDocumentWeakPtr = QWeakPointer<LDDocument>;
 
 template<typename T, typename R>
 using Pair = std::pair<T, R>;

mercurial