aboutsummaryrefslogtreecommitdiffstats
path: root/typesystem.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-09-20 11:36:45 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:09 -0300
commit5179bca73955373e087d6b51edcabf038c964ac8 (patch)
tree255a4ca87763fb6c203ee31aa91815a6c0d8f548 /typesystem.h
parentc182be3e4c89fe81c15722708d8b712598a528b8 (diff)
Anonymous enums now supported.
Diffstat (limited to 'typesystem.h')
-rw-r--r--typesystem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/typesystem.h b/typesystem.h
index 948479d8..682f068e 100644
--- a/typesystem.h
+++ b/typesystem.h
@@ -1265,6 +1265,15 @@ public:
m_forceInteger = force;
}
+ bool isAnonymous() const
+ {
+ return m_anonymous;
+ }
+ void setAnonymous(bool anonymous)
+ {
+ m_anonymous = anonymous;
+ }
+
private:
QString m_packageName;
QString m_qualifier;
@@ -1280,6 +1289,7 @@ private:
bool m_extensible;
bool m_forceInteger;
+ bool m_anonymous;
};
class APIEXTRACTOR_API EnumValueTypeEntry : public TypeEntry