myCurrentPluginName = myPlugins[theFeatureID];
if (myPluginObjs.find(myCurrentPluginName) == myPluginObjs.end()) {
// load plugin library if not yet done
- loadLibrary(myCurrentPluginName);
+ Config_ModuleReader::loadLibrary(myCurrentPluginName);
}
if (myPluginObjs.find(myCurrentPluginName) != myPluginObjs.end()) {
boost::shared_ptr<ModelAPI_Feature> aCreated =
// Read plugins information from XML files
Config_ModuleReader aXMLReader("FeatureRegisterEvent");
- aXMLReader.setAutoImport(true);
aXMLReader.readAll();
}