Salome HOME
added the "Bring To Front" command for Groups
[modules/shaper.git] / src / ModelAPI / ModelAPI_Plugin.h
index 829cb750f32e4849b68b0a196cc0e35993d9dc9c..df1d5af8c26fef86e91cec232f107a512c5ab80a 100644 (file)
@@ -1,8 +1,21 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-// File:        ModelAPI_Plugin.hxx
-// Created:     31 Mar 2014
-// Author:      Mikhail PONIKAROV
+// Copyright (C) 2014-2022  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
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// 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
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 #ifndef ModelAPI_Plugin_H_
 #define ModelAPI_Plugin_H_
@@ -17,7 +30,6 @@ class ModelAPI_Feature;
  * \ingroup DataModel
  * \brief Interface common for any plugin: allows to use plugin by the plugins manager.
  */
-
 class MODELAPI_EXPORT ModelAPI_Plugin
 {
  public:
@@ -25,16 +37,7 @@ class MODELAPI_EXPORT ModelAPI_Plugin
   virtual std::shared_ptr<ModelAPI_Feature> createFeature(std::string theFeatureID) = 0;
 
   /// To virtually destroy the fields of successors
-  virtual ~ModelAPI_Plugin()
-  {
-  }
-
- protected:
-  /// Is needed for python wrapping by swig
-  ModelAPI_Plugin()
-  {
-  }
-  ;
+  virtual ~ModelAPI_Plugin();
 };
 
 #endif