diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-02-16 08:22:51 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:15 -0300 |
commit | 2ca6e422c0a4c58fad74fe523abb25716df81ce2 (patch) | |
tree | 8af161216f0d3f9b63015bc64072ce8d3995bd68 /apiextractor.cpp | |
parent | 6fda7c1130e1ca7512ea2936ce2336722381fe07 (diff) |
Added the "ApiExtractor::setDropTypeEntries(QString)" method.
It gets a string of semicolon (;) separated type system entry names
that will be passed to the type system parser to deal with the given
entries.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'apiextractor.cpp')
-rw-r--r-- | apiextractor.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apiextractor.cpp b/apiextractor.cpp index 700e85072..6443c0735 100644 --- a/apiextractor.cpp +++ b/apiextractor.cpp @@ -109,6 +109,13 @@ void ApiExtractor::setApiVersion(double version) TypeDatabase::instance()->setApiVersion(version); } +void ApiExtractor::setDropTypeEntries(QString dropEntries) +{ + dropEntries.remove(' '); + QStringList entries = dropEntries.split(';'); + TypeDatabase::instance()->setDropTypeEntries(entries); +} + AbstractMetaEnumList ApiExtractor::globalEnums() const { Q_ASSERT(m_builder); |