Salome HOME
Issue #273: Add copyright string
[modules/shaper.git] / src / Config / Config_WidgetReader.h
index cfc1519a56b62fcc46eafeaeb39e489d3fba599d..ab60f4278d7dd63fe6163c9d4a2903445f8ab82a 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 /*
  * Config_WidgetReader.h
  *
 #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_WidgetReader: public Config_XMLReader
+class Config_WidgetReader : public Config_XMLReader
 {
-public:
-  CONFIG_EXPORT Config_WidgetReader(const std::string& theXmlFile);
-  CONFIG_EXPORT virtual ~Config_WidgetReader();
+ public:
+  CONFIG_EXPORT Config_WidgetReader(const std::string& theXmlFile);CONFIG_EXPORT virtual ~Config_WidgetReader();
 
-  CONFIG_EXPORT std::string featureWidgetCfg(const std::string& theFeatureName);
-  CONFIG_EXPORT std::string featureDescription(const std::string& theFeatureName);
+  CONFIG_EXPORT std::string featureWidgetCfg(const std::string& theFeatureName);CONFIG_EXPORT std::string featureDescription(
+      const std::string& theFeatureName);
 
-protected:
+ protected:
   void processNode(xmlNodePtr theNode);
   bool processChildren(xmlNodePtr theNode);
   std::string dumpNode(xmlNodePtr theNode);
+  void resolveSourceNodes(xmlNodePtr theNode);
 
-private:
+ private:
   std::map<std::string, std::string> myWidgetCache;
   std::map<std::string, std::string> myDescriptionCache;