Salome HOME
Minor code correction
[modules/shaper.git] / src / XGUI / XGUI_Selection.cpp
index a6edd15f9aed56966fc4f9362564e066477b817c..ed54a60a27ab034ff8100903077474cb28b4320a 100644 (file)
@@ -24,8 +24,9 @@
 #include "XGUI_ViewerProxy.h"
 #include "XGUI_ObjectsBrowser.h"
 
+#include "ModuleBase_BRepOwner.h"
 #include "ModuleBase_ResultPrs.h"
-#include <ModuleBase_ViewerPrs.h>
+#include "ModuleBase_ViewerPrs.h"
 
 #include <ModelAPI_Feature.h>
 #include <ModelAPI_Tools.h>
@@ -308,11 +309,6 @@ QObjectPtrList XGUI_Selection::selectedObjects() const
   return QObjectPtrList();
 }
 
-void XGUI_Selection::setSelectedObjects( const QObjectPtrList& theObjects ) const
-{
-  return myWorkshop->objectBrowser()->setObjectsSelected( theObjects );
-}
-
 QObjectPtrList XGUI_Selection::selectedPresentations() const
 {
   QObjectPtrList aSelectedList;
@@ -335,18 +331,6 @@ QModelIndexList XGUI_Selection::selectedIndexes() const
   return myWorkshop->objectBrowser()->selectedIndexes();
 }
 
-//**************************************************************
-void XGUI_Selection::selectedAISObjects(AIS_ListOfInteractive& theList) const
-{
-  theList.Clear();
-
-  Handle(AIS_InteractiveContext) aContext = myWorkshop->viewer()->AISContext();
-  if (!aContext.IsNull()) {
-    for (aContext->InitSelected(); aContext->MoreSelected(); aContext->NextSelected())
-      theList.Append(aContext->SelectedInteractive());
-  }
-}
-
 //**************************************************************
 ObjectPtr XGUI_Selection::getSelectableObject(const Handle(SelectMgr_EntityOwner)& theOwner) const
 {