Salome HOME
Replace boost::shared_ptr<ModelAPI_Feature> on FeaturePtr
[modules/shaper.git] / src / ModuleBase / ModuleBase_ModelWidget.h
index afdc1f2cafccbf317b6faa7d3e3fe28696d3da64..ff9b6da8840cf2b899614fa3d5086d83e244aed5 100644 (file)
@@ -7,6 +7,8 @@
 
 #include <ModuleBase.h>
 
+#include <ModelAPI_Feature.h>
+
 #include <QObject>
 
 #include <boost/shared_ptr.hpp>
@@ -34,9 +36,9 @@ public:
 
   /// Saves the internal parameters to the given feature
   /// \param theFeature a model feature to be changed
-  virtual bool storeValue(boost::shared_ptr<ModelAPI_Feature> theFeature) = 0;
+  virtual bool storeValue(FeaturePtr theFeature) = 0;
 
-  virtual bool restoreValue(boost::shared_ptr<ModelAPI_Feature> theFeature) = 0;
+  virtual bool restoreValue(FeaturePtr theFeature) = 0;
 
   /// Returns whether the widget can accept focus, or if it corresponds to the given attribute
   /// \param theAttribute name