X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_WidgetAPI.h;h=190ccfc7fafd450dcd7ea1ea931414cf43b35455;hb=8887fbea231db0c1fd9089dd237b90595f6d78a4;hp=59f44f2b89642cf8b84a576c241a2495518058a8;hpb=196e9b5ccfef56a00ce7764708469685613616c9;p=modules%2Fshaper.git diff --git a/src/Config/Config_WidgetAPI.h b/src/Config/Config_WidgetAPI.h index 59f44f2b8..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,19 +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 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;