| 41 | } |
| 42 | |
| 43 | void ResourceManager::shutdown() |
| 44 | { |
| 45 | MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " is not initialised"); |
| 46 | MYGUI_LOG(Info, "* Shutdown: " << getClassTypeName()); |
| 47 | |
| 48 | FactoryManager::getInstance().unregisterFactory<ResourceImageSet>(mCategoryName); |
| 49 | |
| 50 | clear(); |
| 51 | unregisterLoadXmlDelegate(mCategoryName); |
| 52 | unregisterLoadXmlDelegate(mXmlListTagName); |
| 53 | |
| 54 | mMapLoadXmlDelegate.clear(); |
| 55 | |
| 56 | MYGUI_LOG(Info, getClassTypeName() << " successfully shutdown"); |
| 57 | mIsInitialise = false; |
| 58 | } |
| 59 | |
| 60 | bool ResourceManager::load(const std::string& _file) |
| 61 | { |
nothing calls this directly
no test coverage detected