| 43 | } |
| 44 | |
| 45 | void ControllerManager::shutdown() |
| 46 | { |
| 47 | MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " is not initialised"); |
| 48 | MYGUI_LOG(Info, "* Shutdown: " << getClassTypeName()); |
| 49 | |
| 50 | FactoryManager::getInstance().unregisterFactory<ControllerEdgeHide>(mCategoryName); |
| 51 | FactoryManager::getInstance().unregisterFactory<ControllerFadeAlpha>(mCategoryName); |
| 52 | FactoryManager::getInstance().unregisterFactory<ControllerPosition>(mCategoryName); |
| 53 | FactoryManager::getInstance().unregisterFactory<ControllerRepeatClick>(mCategoryName); |
| 54 | |
| 55 | WidgetManager::getInstance().unregisterUnlinker(this); |
| 56 | clear(); |
| 57 | |
| 58 | MYGUI_LOG(Info, getClassTypeName() << " successfully shutdown"); |
| 59 | mIsInitialise = false; |
| 60 | } |
| 61 | |
| 62 | void ControllerManager::clear() |
| 63 | { |
nothing calls this directly
no test coverage detected