X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_WidgetAPI.h;h=190ccfc7fafd450dcd7ea1ea931414cf43b35455;hb=8887fbea231db0c1fd9089dd237b90595f6d78a4;hp=c98888f12339d66b223378151118d86268d4e099;hpb=a142c8797585ec0b35310ec3608d38b3a4908b7c;p=modules%2Fshaper.git diff --git a/src/Config/Config_WidgetAPI.h b/src/Config/Config_WidgetAPI.h index c98888f12..190ccfc7f 100644 --- a/src/Config/Config_WidgetAPI.h +++ b/src/Config/Config_WidgetAPI.h @@ -8,7 +8,7 @@ #ifndef CONFIG_WIDGETAPI_H_ #define CONFIG_WIDGETAPI_H_ -#include +#include #include #include @@ -32,20 +32,20 @@ public: Config_WidgetAPI(std::string theRawXml); virtual ~Config_WidgetAPI(); - void reset(); - bool nextWidget(); + bool toNextWidget(); + bool toChildWidget(); + bool toParentWidget(); - std::string widgetType(); + std::string widgetType() const; + bool isContainerWidget() const; + bool isPagedWidget() const; - std::string widgetId(); - std::string widgetIcon(); - std::string widgetLabel(); - std::string widgetTooltip(); + std::string widgetId() const; + std::string widgetIcon() const; + std::string widgetLabel() const; + std::string widgetTooltip() const; - std::string getProperty(const char* thePropName); - -protected: - bool isNode(xmlNodePtr theNode, const char* name, ...); + std::string getProperty(const char* thePropName) const; private: xmlDocPtr myDoc;