X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=PARAVIS_version.h.in;h=ba42e9a15574250104ed4258229147b2189941b4;hb=19f7f3baafe197668ee20a7810b1e76ff5d1d55f;hp=79c8971bf5b17b80e69a72984a7341a6a4d62cbc;hpb=131810238c451ca45f00ed844144c2b46272df2b;p=modules%2Fparavis.git diff --git a/PARAVIS_version.h.in b/PARAVIS_version.h.in index 79c8971b..ba42e9a1 100644 --- a/PARAVIS_version.h.in +++ b/PARAVIS_version.h.in @@ -1,21 +1,20 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// +// Copyright (C) 2010-2014 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 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 +// 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. // -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software +// 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/ +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // File : PARAVIS_version.h // Author : Sergey ANIKIN @@ -24,11 +23,22 @@ #if !defined(__PARAVIS_VERSION_H__) #define __PARAVIS_VERSION_H__ -/* - PARAVIS_VERSION is (major << 16) + (minor << 8) + patch. +/*! + Specify version of SALOME PARAVIS module, as follows + + PARAVIS_VERSION_MAJOR : (integer) number identifying major version + PARAVIS_VERSION_MINOR : (integer) number identifying minor version + PARAVIS_VERSION_MAINTENANCE : (integer) number identifying maintenance version + PARAVIS_VERSION_STR : (string) complete version number "major.minor.maintenance" + PARAVIS_VERSION : (hex) complete version number (major << 16) + (minor << 8) + maintenance + PARAVIS_DEVELOPMENT : (integer) indicates development version when set to 1 */ -#define PARAVIS_VERSION_STR "@VERSION@" -#define PARAVIS_VERSION @XVERSION@ +#define PARAVIS_VERSION_MAJOR @SALOMEPARAVIS_MAJOR_VERSION@ +#define PARAVIS_VERSION_MINOR @SALOMEPARAVIS_MINOR_VERSION@ +#define PARAVIS_VERSION_MAINTENANCE @SALOMEPARAVIS_PATCH_VERSION@ +#define PARAVIS_VERSION_STR "@SALOMEPARAVIS_VERSION@" +#define PARAVIS_VERSION @SALOMEPARAVIS_XVERSION@ +#define PARAVIS_DEVELOPMENT @SALOMEPARAVIS_VERSION_DEV@ #endif // __PARAVIS_VERSION_H__