Salome HOME
Remove files only if asked by the user
[plugins/hexoticplugin.git] / HexoticPLUGIN_version.h.in
index b5df797dacc07a1d13168b18f7725e6047bc6b28..6aa40d64710c37f82c6cb62cfd4446e4211812c8 100644 (file)
@@ -1,21 +1,22 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D
+// Copyright (C) 2007-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.
+// 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   : HexoticPLUGIN_version.h
 // Author : Vadim SANDLER, Open CASCADE S.A.S (vadim.sandler@opencascade.com)
 #if !defined(__HEXOTICPLUGIN_VERSION_H__)
 #define __HEXOTICPLUGIN_VERSION_H__
 
-/*
-  HEXOTICPLUGIN_VERSION is (major << 16) + (minor << 8) + patch.
+/*!
+  Specify version of SALOME HexoticPLUGIN module, as follows
+
+  HexoticPLUGIN_VERSION_MAJOR       : (integer) number identifying major version
+  HexoticPLUGIN_VERSION_MINOR       : (integer) number identifying minor version
+  HexoticPLUGIN_VERSION_MAINTENANCE : (integer) number identifying maintenance version
+  HexoticPLUGIN_VERSION_STR         : (string)  complete version number "major.minor.maintenance"
+  HexoticPLUGIN_VERSION             : (hex)     complete version number (major << 16) + (minor << 8) + maintenance
+  HexoticPLUGIN_DEVELOPMENT         : (integer) indicates development version when set to 1
 */
 
-#define HEXOTICPLUGIN_VERSION_STR "@VERSION@"
-#define HEXOTICPLUGIN_VERSION     @XVERSION@
+#define HexoticPLUGIN_VERSION_MAJOR       @SALOMEHEXOTICPLUGIN_MAJOR_VERSION@
+#define HexoticPLUGIN_VERSION_MINOR       @SALOMEHEXOTICPLUGIN_MINOR_VERSION@
+#define HexoticPLUGIN_VERSION_MAINTENANCE @SALOMEHEXOTICPLUGIN_PATCH_VERSION@
+#define HexoticPLUGIN_VERSION_STR         "@SALOMEHEXOTICPLUGIN_VERSION@"
+#define HexoticPLUGIN_VERSION             @SALOMEHEXOTICPLUGIN_XVERSION@
+#define HexoticPLUGIN_DEVELOPMENT         @SALOMEHEXOTICPLUGIN_VERSION_DEV@
 
 #endif // __HEXOTICPLUGIN_VERSION_H__