diff generator/typesystem.h @ 304:04b52676b45f signals

fixed compiling all packages
author eldar_ins@eldar-laptop
date Sun, 13 Dec 2009 06:24:55 +0500
parents adae77fdc1ea
children 5896535a03cd
line wrap: on
line diff
--- a/generator/typesystem.h	Sat Dec 12 16:01:55 2009 +0500
+++ b/generator/typesystem.h	Sun Dec 13 06:24:55 2009 +0500
@@ -436,9 +436,10 @@
         : m_name(name),
           m_type(t),
           m_code_generation(GenerateAll),
-          m_preferred_conversion(true)
+          m_preferred_conversion(true),
+          m_has_copy_constructor(false)
     {
-    };
+    }
 
     virtual ~TypeEntry() { }
 
@@ -508,6 +509,8 @@
 
     // qtd
     virtual bool isStructInD() const { return false; }
+    bool hasPrivateCopyConstructor() const { return m_has_copy_constructor; }
+    void setHasPrivateCopyConstructor(bool has_copy_constructor) { m_has_copy_constructor = has_copy_constructor; }
 
 private:
     QString m_name;
@@ -516,6 +519,7 @@
     CustomFunction m_customConstructor;
     CustomFunction m_customDestructor;
     bool m_preferred_conversion;
+    bool m_has_copy_constructor;
 };
 typedef QHash<QString, QList<TypeEntry *> > TypeEntryHash;
 typedef QHash<QString, TypeEntry *> SingleTypeEntryHash;