Salome HOME
Synchronize adm files
[samples/atomsolv.git] / ATOMSOLV_version.h.in
old mode 100644 (file)
new mode 100755 (executable)
index 421f127..bd7d91a
@@ -1,32 +1,41 @@
-//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 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 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 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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
 
 #if !defined(__ATOMSOLV_VERSION_H__)
 #define __ATOMSOLV_VERSION_H__
 
-/*
-  ATOMSOLV_VERSION is (major << 16) + (minor << 8) + patch.
+/*!
+  Specify version of SALOME ATOMSOLV module, as follows
+
+  ATOMSOLV_VERSION_MAJOR       : (integer) number identifying major version
+  ATOMSOLV_VERSION_MINOR       : (integer) number identifying minor version
+  ATOMSOLV_VERSION_MAINTENANCE : (integer) number identifying maintenance version
+  ATOMSOLV_VERSION_STR         : (string)  complete version number "major.minor.maintenance"
+  ATOMSOLV_VERSION             : (hex)     complete version number (major << 16) + (minor << 8) + maintenance
+  ATOMSOLV_DEVELOPMENT         : (integer) indicates development version when set to 1
 */
 
-#define ATOMSOLV_VERSION_STR "@VERSION@"
-#define ATOMSOLV_VERSION     @XVERSION@
+#define ATOMSOLV_VERSION_MAJOR       @SALOMEATOMSOLV_MAJOR_VERSION@
+#define ATOMSOLV_VERSION_MINOR       @SALOMEATOMSOLV_MINOR_VERSION@
+#define ATOMSOLV_VERSION_MAINTENANCE @SALOMEATOMSOLV_PATCH_VERSION@
+#define ATOMSOLV_VERSION_STR         "@SALOMEATOMSOLV_VERSION@"
+#define ATOMSOLV_VERSION             @SALOMEATOMSOLV_XVERSION@
+#define ATOMSOLV_DEVELOPMENT         @SALOMEATOMSOLV_VERSION_DEV@
 
 #endif // __ATOMSOLV_VERSION_H__