4 * Created on: Apr 1, 2014
8 #ifndef CONFIG_WIDGETAPI_H_
9 #define CONFIG_WIDGETAPI_H_
16 //>> Forward declaration of xmlNodePtr.
17 typedef struct _xmlNode xmlNode;
18 typedef xmlNode *xmlNodePtr;
22 //>> Forward declaration of xmlDocPtr.
23 typedef struct _xmlDoc xmlDoc;
24 typedef xmlDoc *xmlDocPtr;
29 class CONFIG_EXPORT Config_WidgetAPI
32 Config_WidgetAPI(std::string theRawXml);
33 virtual ~Config_WidgetAPI();
37 std::string widgetType();
38 std::string getProperty(const char* thePropName);
41 bool isNode(xmlNodePtr theNode, const char* name, ...);
45 xmlNodePtr myCurrentNode;
49 #endif /* CONFIG_WIDGETAPI_H_ */