From b70c2847a571ae6bad4bd99535bf6f587c7b7371 Mon Sep 17 00:00:00 2001 From: Lauro Neto Date: Sat, 31 Oct 2009 14:18:49 -0300 Subject: Adding support to attribute stream in TypeEntry --- typesystem.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'typesystem.cpp') diff --git a/typesystem.cpp b/typesystem.cpp index 603f414b5..ffbde3656 100644 --- a/typesystem.cpp +++ b/typesystem.cpp @@ -493,6 +493,7 @@ bool Handler::startElement(const QString &, const QString &n, attributes["force-abstract"] = QString("no"); attributes["deprecated"] = QString("no"); attributes["hash-function"] = QString(""); + attributes["stream"] = QString("no"); // fall throooough case StackElement::InterfaceTypeEntry: attributes["default-superclass"] = m_defaultSuperclass; @@ -649,6 +650,7 @@ bool Handler::startElement(const QString &, const QString &n, if (!element->entry) element->entry = new ValueTypeEntry(name); + element->entry->setStream(attributes["stream"] == QString("yes")); ComplexTypeEntry *ctype = static_cast(element->entry); ctype->setTargetLangPackage(attributes["package"]); -- cgit v1.2.3