| 48 | } |
| 49 | |
| 50 | void SkinManager::shutdown() |
| 51 | { |
| 52 | MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " is not initialised"); |
| 53 | MYGUI_LOG(Info, "* Shutdown: " << getClassTypeName()); |
| 54 | |
| 55 | ResourceManager::getInstance().unregisterLoadXmlDelegate(mXmlSkinTagName); |
| 56 | |
| 57 | const std::string& resourceCategory = ResourceManager::getInstance().getCategoryName(); |
| 58 | FactoryManager::getInstance().unregisterFactory<ResourceSkin>(resourceCategory); |
| 59 | |
| 60 | MYGUI_LOG(Info, getClassTypeName() << " successfully shutdown"); |
| 61 | mIsInitialise = false; |
| 62 | } |
| 63 | |
| 64 | void SkinManager::_load(xml::ElementPtr _node, std::string_view _file, Version _version) |
| 65 | { |
nothing calls this directly
no test coverage detected