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 bool toParentWidget();
39 std::string widgetType();
40 bool isContainerWidget();
43 std::string widgetId();
44 std::string widgetIcon();
45 std::string widgetLabel();
46 std::string widgetTooltip();
48 std::string getProperty(const char* thePropName);
52 xmlNodePtr myCurrentNode;
56 #endif /* CONFIG_WIDGETAPI_H_ */