diff options
Diffstat (limited to 'typesystem.h')
-rw-r--r-- | typesystem.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/typesystem.h b/typesystem.h index b609950b7..23b9d24cc 100644 --- a/typesystem.h +++ b/typesystem.h @@ -1054,6 +1054,19 @@ public: m_targetLangApiName = targetLangApiName; } + QString defaultConstructor() const + { + return m_defaultConstructor; + } + void setDefaultConstructor(const QString& defaultConstructor) + { + m_defaultConstructor = defaultConstructor; + } + bool hasDefaultConstructor() const + { + return !m_defaultConstructor.isEmpty(); + } + /** * The PrimitiveTypeEntry pointed by this type entry if it * represents an alias (i.e. a typedef). @@ -1100,6 +1113,7 @@ public: private: QString m_targetLangName; QString m_targetLangApiName; + QString m_defaultConstructor; uint m_preferredConversion : 1; uint m_preferredTargetLangType : 1; PrimitiveTypeEntry* m_aliasedTypeEntry; |