4 * Created on: Apr 1, 2014
8 #ifndef CONFIG_WIDGETAPI_H_
9 #define CONFIG_WIDGETAPI_H_
11 #include <Config_def.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() const;
40 bool isContainerWidget() const;
41 bool isPagedWidget() const;
43 std::string widgetId() const;
44 std::string widgetIcon() const;
45 std::string widgetLabel() const;
46 std::string widgetTooltip() const;
48 std::string getProperty(const char* thePropName) const;
52 xmlNodePtr myCurrentNode;
56 #endif /* CONFIG_WIDGETAPI_H_ */