Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / Config / Config_WidgetReader.h
index 7b5aa86f4908e97aa352db1eebfd5ce62c91a978..c9c2f060267d353e9356dcdfaf6794190abde845 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef CONFIG_WIDGETREADER_H_
 #define CONFIG_WIDGETREADER_H_
 
-#include <Config.h>
+#include <Config_def.h>
 #include <Config_XMLReader.h>
 
 #include <map>
@@ -21,14 +21,18 @@ public:
   CONFIG_EXPORT Config_WidgetReader(const std::string& theXmlFile);
   CONFIG_EXPORT virtual ~Config_WidgetReader();
 
-  CONFIG_EXPORT std::string featureWidgetCfg(std::string theFeatureName);
+  CONFIG_EXPORT std::string featureWidgetCfg(const std::string& theFeatureName);
+  CONFIG_EXPORT std::string featureDescription(const std::string& theFeatureName);
 
 protected:
   void processNode(xmlNodePtr theNode);
   bool processChildren(xmlNodePtr theNode);
+  std::string dumpNode(xmlNodePtr theNode);
+  void resolveSourceNodes(xmlNodePtr theNode);
 
 private:
   std::map<std::string, std::string> myWidgetCache;
+  std::map<std::string, std::string> myDescriptionCache;
 
 };