X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetSelector.h;h=b6af3a3f9de84ffcfb6bf571b7be5c191ba0821c;hb=9aeb69897970e21212d6f8926ec33d2eb696f18d;hp=152b76f1ef24478427f85b7c1de3cc833201e614;hpb=2469ecd08c3b16def494626928ff81e575bdfe3d;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetSelector.h b/src/ModuleBase/ModuleBase_WidgetSelector.h index 152b76f1e..b6af3a3f9 100755 --- a/src/ModuleBase/ModuleBase_WidgetSelector.h +++ b/src/ModuleBase/ModuleBase_WidgetSelector.h @@ -9,7 +9,6 @@ #include "ModuleBase.h" #include "ModuleBase_WidgetValidated.h" -#include #include "ModuleBase_Definitions.h" #include @@ -19,6 +18,8 @@ class Config_WidgetAPI; class QWidget; class ModuleBase_IWorkshop; +class ModuleBase_ViewerPrs; +class ModelAPI_Result; /** * \ingroup GUI @@ -94,7 +95,8 @@ protected: /// in the construction. /// \param theShape a shape /// \param theResult a selected result - bool acceptSubShape(const GeomShapePtr& theShape, const ResultPtr& theResult) const; + bool acceptSubShape(const GeomShapePtr& theShape, + const std::shared_ptr& theResult) const; /// Return an object and geom shape by the viewer presentation /// \param thePrs a selection