diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-09-20 11:36:45 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:09 -0300 |
commit | 5179bca73955373e087d6b51edcabf038c964ac8 (patch) | |
tree | 255a4ca87763fb6c203ee31aa91815a6c0d8f548 /parser/codemodel.cpp | |
parent | c182be3e4c89fe81c15722708d8b712598a528b8 (diff) |
Anonymous enums now supported.
Diffstat (limited to 'parser/codemodel.cpp')
-rw-r--r-- | parser/codemodel.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/parser/codemodel.cpp b/parser/codemodel.cpp index 419471505..0cc14fcce 100644 --- a/parser/codemodel.cpp +++ b/parser/codemodel.cpp @@ -727,6 +727,16 @@ void _EnumModelItem::removeEnumerator(EnumeratorModelItem item) _M_enumerators.removeAt(_M_enumerators.indexOf(item)); } +bool _EnumModelItem::isAnonymous() const +{ + return _M_anonymous; +} + +void _EnumModelItem::setAnonymous(bool anonymous) +{ + _M_anonymous = anonymous; +} + // --------------------------------------------------------------------------- QString _EnumeratorModelItem::value() const { |