Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / Config / Config_FeatureReader.h
index cb16d9ea2313debe02a577ceb4b678b8edab5d74..117e8bd6ce18748c66e0e6bfedf2d05857cca997 100644 (file)
@@ -8,30 +8,31 @@
 #ifndef CONFIG_FEATUREREADER_H_
 #define CONFIG_FEATUREREADER_H_
 
+#include <Config.h>
 #include <Config_XMLReader.h>
 
+#include <string>
+
+
+class Config_FeatureMessage;
+
 class CONFIG_EXPORT Config_FeatureReader: public Config_XMLReader
 {
 public:
-  Config_FeatureReader(const std::string& theXmlFile);
   Config_FeatureReader(const std::string& theXmlFile,
-                       const std::string& theLibraryName);
+                       const std::string& theLibraryName = "");
   virtual ~Config_FeatureReader();
 
-  std::string featureWidgetCfg(std::string theFeatureName);
-
 protected:
   void processNode(xmlNodePtr aNode);
   bool processChildren(xmlNodePtr aNode);
 
   void fillFeature(xmlNodePtr theRoot, Config_FeatureMessage& outFeatureMessage);
 
+private:
   std::string myLastWorkbench;
   std::string myLastGroup;
   std::string myLibraryName;
-
-  bool myFetchWidgetCfg;
-  std::string myWidgetCfg;
 };
 
 #endif /* CONFIG_FEATUREREADER_H_ */