diff generator/typesystem.h @ 42:eb3b5bbffc8f

CMake: generator is not running multiple times. generator: packages can have dependencies now (but this do not used in real code yet).
author SokoL_SD
date Sun, 17 May 2009 15:53:27 +0000
parents 5015aede8edd
children ae34188ddd84
line wrap: on
line diff
--- a/generator/typesystem.h	Sun May 17 12:41:14 2009 +0000
+++ b/generator/typesystem.h	Sun May 17 15:53:27 2009 +0000
@@ -879,6 +879,9 @@
     bool isAbstract() const { return m_isAbstract; }
     void setAbstract(bool isAbstract) { m_isAbstract = isAbstract; }
 
+    void setDepends(const QStringList &depends) {m_depends = depends; }
+    const QStringList &depends() {return m_depends; }
+
     QString addedTo;
     QStringList includedClasses;
 
@@ -908,6 +911,7 @@
     // qtd
     bool m_isStructInD;
     bool m_isAbstract;
+    QStringList m_depends;
 };
 
 class ContainerTypeEntry : public ComplexTypeEntry