#ifndef CONFIG_WIDGETREADER_H_
#define CONFIG_WIDGETREADER_H_
-#include <Config.h>
+#include <Config_def.h>
#include <Config_XMLReader.h>
#include <map>
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;
};