Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / Config / Config_WidgetReader.h
index 58fd904b062024a8658865e7b75d67f0e5748f3e..c9c2f060267d353e9356dcdfaf6794190abde845 100644 (file)
@@ -8,27 +8,31 @@
 #ifndef CONFIG_WIDGETREADER_H_
 #define CONFIG_WIDGETREADER_H_
 
-#include <Config.h>
+#include <Config_def.h>
 #include <Config_XMLReader.h>
 
 #include <map>
 #include <string>
 
 
-class CONFIG_EXPORT Config_WidgetReader: public Config_XMLReader
+class Config_WidgetReader: public Config_XMLReader
 {
 public:
-  Config_WidgetReader(const std::string& theXmlFile);
-  virtual ~Config_WidgetReader();
+  CONFIG_EXPORT Config_WidgetReader(const std::string& theXmlFile);
+  CONFIG_EXPORT virtual ~Config_WidgetReader();
 
-  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;
 
 };