Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / ModuleBase / ModuleBase_ISelection.h
index 0519985025d0496684909227602d4c7f61899a56..43bd0ea86650863887c248c69ac603b3059a73ff 100644 (file)
@@ -18,7 +18,7 @@
 
 class ModuleBase_ISelection
 {
-public:
+ public:
 
   /// Returns a list of viewer selected presentations
   /// \param theShapeTypeToSkip the shapes with this type will be skipped during the result list build
@@ -31,10 +31,15 @@ public:
   virtual std::list<ModuleBase_ViewerPrs> getHighlighted(int theShapeTypeToSkip = -1) const = 0;
 
   /**
-  * Returns list of features currently selected in 3d viewer
-  */
-  virtual QFeatureList selectedFeatures() const = 0;
-  
+   * Returns list of features currently selected in 3d viewer
+   */
+  virtual QList<ObjectPtr> selectedObjects() const = 0;
+
+  /**
+   * Returns list of currently selected results
+   */
+  virtual QList<ObjectPtr> selectedPresentations() const = 0;
+
   //! Returns list of currently selected QModelIndexes
   virtual QModelIndexList selectedIndexes() const = 0;
 
@@ -46,4 +51,4 @@ public:
 
 };
 
-#endif
\ No newline at end of file
+#endif