diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-10-20 18:23:06 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-10-20 18:23:06 (GMT) |
commit | dc404b516e366ca10ad325d399ef0bd47d065863 (patch) | |
tree | 63a7ba72ad4f8318f818aebfef29beee5811c241 /addon/doxmlparser/src/mainhandler.cpp | |
parent | 6bc4cd0ea321e784be64022fea5013e1b181a593 (diff) | |
download | Doxygen-dc404b516e366ca10ad325d399ef0bd47d065863.zip Doxygen-dc404b516e366ca10ad325d399ef0bd47d065863.tar.gz Doxygen-dc404b516e366ca10ad325d399ef0bd47d065863.tar.bz2 |
Release-1.2.18-20021020
Diffstat (limited to 'addon/doxmlparser/src/mainhandler.cpp')
-rw-r--r-- | addon/doxmlparser/src/mainhandler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/addon/doxmlparser/src/mainhandler.cpp b/addon/doxmlparser/src/mainhandler.cpp index 1a130e2..16d12b3 100644 --- a/addon/doxmlparser/src/mainhandler.cpp +++ b/addon/doxmlparser/src/mainhandler.cpp @@ -228,13 +228,16 @@ ICompound *MainHandler::compoundById(const char *id) const // unchanged. MainHandler *that = (MainHandler *)this; ch->initialize(that); + printf("loading compound %s in memory\n",id); that->m_compoundsLoaded.insert(id,ch); return ch->toICompound(); } void MainHandler::unloadCompound(CompoundHandler *ch) { - m_compoundsLoaded.remove(ch->id()->latin1()); + printf("unloading compound %s from memory\n",ch->id()->latin1()); + bool result = m_compoundsLoaded.remove(ch->id()->latin1()); + if (!result) printf("Failed to unload!\n"); } ICompound *MainHandler::compoundByName(const char *name) const @@ -276,6 +279,7 @@ IDoxygen *createObjectModel() void MainHandler::release() { + //printf("MainHandler::release()\n"); QDictIterator<CompoundHandler> chi(m_compoundsLoaded); CompoundHandler *ch; for (chi.toFirst();(ch=chi.current());++chi) |