Salome HOME
Remove files only if asked by the user
[plugins/hexoticplugin.git] / HexoticPLUGIN_version.h.in
index c6eae56d79bd2330082b5a748639998c25229029..6aa40d64710c37f82c6cb62cfd4446e4211812c8 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  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.
+// 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
 #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_DEVELOPMENT @VERSION_DEV@
+#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__