MCPcopy Create free account
hub / github.com/MyGUI/mygui / uninstallPlugin

Method uninstallPlugin

MyGUIEngine/src/MyGUI_PluginManager.cpp:150–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 void PluginManager::uninstallPlugin(IPlugin* _plugin)
151 {
152 MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " used but not initialised");
153
154 MYGUI_LOG(Info, "Uninstalling plugin: " << _plugin->getName());
155 PluginList::iterator it = mPlugins.find(_plugin);
156 if (it != mPlugins.end())
157 {
158 _plugin->shutdown();
159 _plugin->uninstall();
160 mPlugins.erase(it);
161 }
162 MYGUI_LOG(Info, "Plugin successfully uninstalled");
163 }
164
165 void PluginManager::unloadAllPlugins()
166 {

Callers 5

destroySceneMethod · 0.80
destroySceneMethod · 0.80
dllStopPluginFunction · 0.80
dllStopPluginFunction · 0.80
dllStopPluginFunction · 0.80

Calls 6

getClassTypeNameFunction · 0.85
findMethod · 0.45
endMethod · 0.45
shutdownMethod · 0.45
uninstallMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected