Salome HOME
updated copyright message
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Constraint.h
index 49f98b0cfb4983daacf7095704474f8d9acd49f6..7b572387500fe7cecaf1178ffe70f08ee29e8ac2 100644 (file)
@@ -1,8 +1,21 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
-
-// File:    SketchPlugin_Constraint.h
-// Created: 08 May 2014
-// Author:  Artem ZHIDKOV
+// Copyright (C) 2014-2023  CEA, EDF
+//
+// 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 SketchPlugin_Constraint_H_
 #define SketchPlugin_Constraint_H_
@@ -12,7 +25,7 @@
 #include <string>
 
 /// Size of the list of constraint attributes
-const unsigned int CONSTRAINT_ATTR_SIZE = 4;
+const int CONSTRAINT_ATTR_SIZE = 4;
 
 /** \class SketchPlugin_Constraint
  *  \brief Abstract interface to the SketchPlugin_ConstraintBase
@@ -79,9 +92,7 @@ class SketchPlugin_Constraint : public SketchPlugin_Feature
 
  protected:
   /// \brief Use plugin manager for features creation
-  SketchPlugin_Constraint()
-  {
-  }
+  SketchPlugin_Constraint();
 };
 
 typedef std::shared_ptr<SketchPlugin_Constraint> ConstraintPtr;