Salome HOME
Porting to SALOME_8.2.0
[modules/shaper.git] / src / ModuleBase / ModuleBase_ISelection.h
index 62e017eea23fe6376e83122eb9f3b0f8bd5f7f04..45022231bd8ce7103712a3101742d964013e7187 100644 (file)
@@ -22,7 +22,7 @@
 #include <QList>
 
 class ModuleBase_ViewerPrs;
-class Handle_SelectMgr_EntityOwner;
+class SelectMgr_EntityOwner;
 
 /**
 * \ingroup GUI
@@ -55,7 +55,7 @@ class ModuleBase_ISelection
   /// \param thePrs a container for selection
   /// \param theOwner a selection owner
   virtual void fillPresentation(std::shared_ptr<ModuleBase_ViewerPrs>& thePrs,
-                                const Handle_SelectMgr_EntityOwner& theOwner) const = 0;
+                                const Handle(SelectMgr_EntityOwner)& theOwner) const = 0;
 
   /**
    * Returns list of features currently selected in object browser
@@ -78,7 +78,7 @@ class ModuleBase_ISelection
   virtual void selectedAISObjects(AIS_ListOfInteractive& theList) const = 0;
 
   //! Returns list of currently selected QModelIndexes
-  virtual ObjectPtr getSelectableObject(const Handle_SelectMgr_EntityOwner& theOwner) const = 0;
+  virtual ObjectPtr getSelectableObject(const Handle(SelectMgr_EntityOwner)& theOwner) const = 0;
 
   //! Return the shape from the viewer presentation.
   //! If the shape is equal to the shape of selected object, it returns an empty shape