Salome HOME
Issue #2027 Sketcher Trim Feature
[modules/shaper.git] / src / PartSet / PartSet_MouseProcessor.h
index 6a123df60e3a513880e4a17c4b24ea7e40a4cb87..91f40398aa98c1a9d0ea9d7108d063fab36bbc26 100755 (executable)
@@ -9,7 +9,10 @@
 
 #include "PartSet.h"
 
+#include <memory>
+
 class ModuleBase_IViewWindow;
+class ModuleBase_ViewerPrs;
 class QMouseEvent;
 
 /**
@@ -39,6 +42,11 @@ public:
   /// \param theEvent a mouse event
   PARTSET_EXPORT virtual void mouseDoubleClick(ModuleBase_IViewWindow* theWindow,
                                                QMouseEvent* theEvent) {}
+
+  /// Fill preselection used in mouseReleased
+  virtual void setPreSelection(const std::shared_ptr<ModuleBase_ViewerPrs>& thePreSelected,
+                               ModuleBase_IViewWindow* theWnd,
+                               QMouseEvent* theEvent) {}
 };
 
 #endif