Salome HOME
#18963 Minimize compiler warnings (finish)
[plugins/ghs3dplugin.git] / GHS3DPLUGIN_version.h.in
index a04a008b4f12647541b5610ee3ce556f1e22e24c..4fbfc0c83162dc17be16c5fd45bc117e8c62d430 100644 (file)
@@ -1,21 +1,22 @@
-//  Copyright (C) 2004-2008  CEA/DEN, EDF R&D
+// Copyright (C) 2004-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
-//  License as published by the Free Software Foundation; either
-//  version 2.1 of the License.
+// 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 //  File   : GHS3DPLUGIN_version.h
 //  Author : Vadim SANDLER
 //  Module : SALOME
 #if !defined(__GHS3DPLUGIN_VERSION_H__)
 #define __GHS3DPLUGIN_VERSION_H__
 
-/*
-  GHS3DPLUGIN_VERSION is (major << 16) + (minor << 8) + patch.
+/*!
+  Specify version of SALOME GHS3DPLUGIN module, as follows
+
+  GHS3DPLUGIN_VERSION_MAJOR       : (integer) number identifying major version
+  GHS3DPLUGIN_VERSION_MINOR       : (integer) number identifying minor version
+  GHS3DPLUGIN_VERSION_MAINTENANCE : (integer) number identifying maintenance version
+  GHS3DPLUGIN_VERSION_STR         : (string)  complete version number "major.minor.maintenance"
+  GHS3DPLUGIN_VERSION             : (hex)     complete version number (major << 16) + (minor << 8) + maintenance
+  GHS3DPLUGIN_DEVELOPMENT         : (integer) indicates development version when set to 1
 */
 
-#define GHS3DPLUGIN_VERSION_STR "@VERSION@"
-#define GHS3DPLUGIN_VERSION     @XVERSION@
+#define GHS3DPLUGIN_VERSION_MAJOR       @SALOMEGHS3DPLUGIN_MAJOR_VERSION@
+#define GHS3DPLUGIN_VERSION_MINOR       @SALOMEGHS3DPLUGIN_MINOR_VERSION@
+#define GHS3DPLUGIN_VERSION_MAINTENANCE @SALOMEGHS3DPLUGIN_PATCH_VERSION@
+#define GHS3DPLUGIN_VERSION_STR         "@SALOMEGHS3DPLUGIN_VERSION@"
+#define GHS3DPLUGIN_VERSION             @SALOMEGHS3DPLUGIN_XVERSION@
+#define GHS3DPLUGIN_DEVELOPMENT         @SALOMEGHS3DPLUGIN_VERSION_DEV@
 
 #endif // __GHS3DPLUGIN_VERSION_H__