diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-10-20 18:23:06 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-10-20 18:23:06 (GMT) |
commit | 7c34dd2b1594925d0a012e9ba290bf9c80574db5 (patch) | |
tree | 63a7ba72ad4f8318f818aebfef29beee5811c241 /addon/doxmlparser/src/mainhandler.cpp | |
parent | 2c6d31c8bf31028ba2f822c31f4812c2cecab306 (diff) | |
download | Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.zip Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.tar.gz Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.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) |