Salome HOME
Provide connection of new features in SALOME module
[modules/shaper.git] / src / Config / Config_WidgetAPI.h
index 59f44f2b89642cf8b84a576c241a2495518058a8..190ccfc7fafd450dcd7ea1ea931414cf43b35455 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef CONFIG_WIDGETAPI_H_
 #define CONFIG_WIDGETAPI_H_
 
-#include <Config.h>
+#include <Config_def.h>
 
 #include <cstdarg>
 #include <string>
@@ -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;