Salome HOME
fix coding style
[modules/shaper.git] / src / ModuleBase / ModuleBase_ISelection.h
index 6954118c8fd71e5a3d025f09297f05d3446b0889..87a1b3565c677b01d38c1932555c0b0b1f8ee0ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 //
 // You should have received a copy of the GNU Lesser General Public
 // License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #ifndef ModuleBase_ISelection_H
@@ -43,9 +42,11 @@ class SelectMgr_EntityOwner;
 /// A selection can be obtained as from a viewer as from Object browser in various forms
 class MODULEBASE_EXPORT ModuleBase_ISelection
 {
- public:
-   /// Types of the selection place, where the selection is obtained
-   enum SelectionPlace { Browser, Viewer, AllControls };
+public:
+  /// Types of the selection place, where the selection is obtained
+  enum SelectionPlace { Browser, Viewer, AllControls };
+
+  virtual ~ModuleBase_ISelection() {}
 
   /// Returns a list of viewer selected presentations
   /// \return list of presentations