Salome HOME
refs #80 - Sketch base GUI: create/draw point, circle and arc
[modules/shaper.git] / src / Config / Config_WidgetAPI.h
index c98888f12339d66b223378151118d86268d4e099..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,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;