| 37 | } |
| 38 | |
| 39 | void LayoutManager::shutdown() |
| 40 | { |
| 41 | MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " is not initialised"); |
| 42 | MYGUI_LOG(Info, "* Shutdown: " << getClassTypeName()); |
| 43 | |
| 44 | ResourceManager::getInstance().unregisterLoadXmlDelegate(mXmlLayoutTagName); |
| 45 | |
| 46 | const std::string& resourceCategory = ResourceManager::getInstance().getCategoryName(); |
| 47 | FactoryManager::getInstance().unregisterFactory<ResourceLayout>(resourceCategory); |
| 48 | |
| 49 | MYGUI_LOG(Info, getClassTypeName() << " successfully shutdown"); |
| 50 | mIsInitialise = false; |
| 51 | } |
| 52 | |
| 53 | void LayoutManager::_load(xml::ElementPtr _node, std::string_view _file, Version _version) |
| 54 | { |
nothing calls this directly
no test coverage detected