Salome HOME
Merge branch 'Dev_2.1.0' of salome:modules/shaper into Dev_2.1.0
[modules/shaper.git] / src / Config / Config_WidgetAPI.h
index a99ba1a588de0d6cb19945ddf7dbca184821784a..e9531e49fb7af27c9615c666c2e172a0a7af2df9 100644 (file)
@@ -13,7 +13,6 @@
 #include <Config_def.h>
 
 #include <cstdarg>
-#include <list>
 #include <string>
 
 //>> Forward declaration of xmlNodePtr.
@@ -57,15 +56,6 @@ class CONFIG_EXPORT Config_WidgetAPI
   //! Returns a custom property of current widget
   std::string getProperty(const char* thePropName) const;
 
-  /*! Returns a list of attributes.
-   *  If theRole is 0 then returns all attributes.
-   *  If theRole is "main" then returns widgetId().
-   */
-  std::list<std::string> getAttributes(const std::string& theRole = std::string()) const;
-  //! Returns a custom property of attribute
-  std::string getAttributeProperty(const std::string& theAttribute,
-                                   const std::string& thePropName) const;
-
   /*! Checks if the XML representation of widget has given attribute,
    *  if yes - returns it's bool value, if no, or if the value can not
    *  be converted to bool - returns theDefault.
@@ -77,7 +67,7 @@ class CONFIG_EXPORT Config_WidgetAPI
 
  protected:
   /// These fields are accessible for ModuleBase_WidgetFactory only
-  Config_WidgetAPI(const std::string& theRawXml);
+  Config_WidgetAPI(std::string theRawXml);
   //! Pass to the next (sibling) node of widget's xml definition. If impossible, returns false
   bool toNextWidget();
   //! Pass into the child node of widget's xml definition. If impossible, returns false
@@ -85,8 +75,6 @@ class CONFIG_EXPORT Config_WidgetAPI
   //! Pass into the parent node of widget's xml definition. If impossible, returns false
   bool toParentWidget();
 
-  std::list<xmlNodePtr> attributes() const;
-
  private:
   xmlDocPtr myDoc; //!< Pointer to the root of widget's xml definition
   xmlNodePtr myCurrentNode; //!< Pointer to the current node in the widget's xml definition