Add support for unloading modules to Tairon::Core::ModuleManager class.
commit881172ae3b6d4299f1aa5328b25d5cdf486e5e3b
authorDavid Brodsky <trekie@sinister.cz>
Thu, 2 Nov 2006 07:13:09 +0000 (2 08:13 +0100)
committerDavid Brodsky <trekie@sinister.cz>
Thu, 2 Nov 2006 07:13:09 +0000 (2 08:13 +0100)
tree32be162272221a9eb75c42987c19df749e2ac70b
parentf6e6cf4d9a3bd41d92d147c8ae3c0247a6ea0b2c
Add support for unloading modules to Tairon::Core::ModuleManager class.

Two new methods are introduced: unloadModules() which unloads all loaded
modules, but doesn't actually closes libraries. This is done by
closeLibraries() method. This approach is needed when a module is unloaded but
some parts still need to be freed and thus need code from the library.
src/core/modulemanager.cpp
src/core/modulemanager.h