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();
38 std::string widgetType();
40 std::string widgetIcon();
41 std::string widgetLabel();
42 std::string widgetTooltip();
44 std::string getProperty(const char* thePropName);
47 bool isNode(xmlNodePtr theNode, const char* name, ...);
51 xmlNodePtr myCurrentNode;
55 #endif /* CONFIG_WIDGETAPI_H_ */