-// Copyright (C) 2004-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2004-2016 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(__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_DEVELOPMENT @VERSION_DEV@
+#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__