aboutsummaryrefslogtreecommitdiffstats
path: root/typesystem.cpp
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2009-10-31 14:18:49 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-11-09 15:31:30 -0200
commitb70c2847a571ae6bad4bd99535bf6f587c7b7371 (patch)
treeb0c247dbb708cc9aa0d839b4de9decacef22e137 /typesystem.cpp
parente8c6f4e1a1bbfebdf836e48256ff81a06daf9322 (diff)
Adding support to attribute stream in TypeEntry
Diffstat (limited to 'typesystem.cpp')
-rw-r--r--typesystem.cpp2
1 files changed, 2 insertions, 0 deletions
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<ComplexTypeEntry *>(element->entry);
ctype->setTargetLangPackage(attributes["package"]);