Salome HOME
Issue #627 - Crashes on problems in new features and plugins
[modules/shaper.git] / src / Config / Config_ModuleReader.h
index bef9c61246a6c149cce31154c9c9dc5eb1d2d5a1..a50fd028c75e90540dd09235a2e5382dd608a790 100644 (file)
@@ -69,6 +69,8 @@ class Config_ModuleReader : public Config_XMLReader
   std::string addPlugin(const std::string& aPluginLibrary,
                         const std::string& aPluginScript,
                         const std::string& aPluginConf);
+  /// Save feature in myFeaturesInFiles. Generates an error if the feature name is already registered.
+  void addFeature(const std::string& theFeatureName, const std::string& thePluginConfig);
 
  private:
   std::map<std::string, std::string> myFeaturesInFiles; ///< a feature name is key, a file is value