32 const std::string
XML_TYPE(
"Plugin");
62 mIsInitialise =
false;
73 MYGUI_LOG(Error,
"Plugin '" << _file <<
"' not found");
81 MYGUI_LOG(Error,
"Cannot find symbol 'dllStartPlugin' in library " << _file);
98 DynLibList::iterator it = mLibs.find(_file);
99 if (it != mLibs.end())
125 else if (node->
getName() ==
"Plugin")
130 while (source_node.next(
"Source"))
133 #if MYGUI_DEBUG_MODE == 1
134 if (build ==
"Debug")
135 source = source_node->getContent();
137 if (build !=
"Debug")
138 source = source_node->getContent();
153 mPlugins.insert(_plugin);
158 MYGUI_LOG(Info,
"Plugin successfully installed");
166 PluginList::iterator it = mPlugins.find(_plugin);
167 if (it != mPlugins.end())
173 MYGUI_LOG(Info,
"Plugin successfully uninstalled");
178 while (!mLibs.empty())