Salome HOME
Replace boost::shared_ptr<ModelAPI_Feature> on FeaturePtr
[modules/shaper.git] / src / XGUI / XGUI_Tools.h
index d20260f8e3046847cc6d0b53c51f0f1e021e2190..f2f2b9d88c5b98a2abc2a9c89d47b7c7f8fe9645 100644 (file)
@@ -5,10 +5,11 @@
 #include <QString>
 #include <QRect>
 
+#include <ModelAPI_Feature.h>
+
 #include <boost/shared_ptr.hpp>
 
 class TopoDS_Shape;
-class ModelAPI_Feature;
 /*!
  \brief Return directory part of the file path.
 
@@ -64,13 +65,13 @@ namespace XGUI_Tools
    Returns true if the feature is a model object
    \param theFeature a feature
   */
-  bool XGUI_EXPORT isModelObject(boost::shared_ptr<ModelAPI_Feature> theFeature);
+  bool XGUI_EXPORT isModelObject(FeaturePtr theFeature);
 
   /*!
    Returns the string presentation of the given feature
    \param theFeature a feature
   */
-  std::string XGUI_EXPORT featureInfo(boost::shared_ptr<ModelAPI_Feature> theFeature);
+  std::string XGUI_EXPORT featureInfo(FeaturePtr theFeature);
 }
 
 #endif