From: rnv Date: Fri, 6 Dec 2013 10:18:26 +0000 (+0000) Subject: Fix for the "0052220: TC7.3.0:Unknown version of HexaBlock" issue. X-Git-Tag: V7_3_0~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b38ddfac0d0cb8b825b23bab09036b6abf410aa0;p=modules%2Fhexablock.git Fix for the "0052220: TC7.3.0:Unknown version of HexaBlock" issue. --- diff --git a/HEXABLOCK_version.h.in b/HEXABLOCK_version.h.in index b2dc846..d448bd6 100755 --- a/HEXABLOCK_version.h.in +++ b/HEXABLOCK_version.h.in @@ -24,8 +24,23 @@ HEXABLOCK_VERSION is (major << 16) + (minor << 8) + patch. */ -#define HEXABLOCK_VERSION_STR "@VERSION@" -#define HEXABLOCK_VERSION @XVERSION@ -#define HEXABLOCK_DEVELOPMENT @VERSION_DEV@ + +/*! + Specify version of SALOME HEXABLOCK module, as follows + +HEXABLOCK_VERSION_MAJOR : (integer) number identifying major version +HEXABLOCK_VERSION_MINOR : (integer) number identifying minor version +HEXABLOCK_VERSION_MAINTENANCE : (integer) number identifying maintenance version +HEXABLOCK_VERSION_STR : (string) complete version number "major.minor.maintenance" +HEXABLOCK_VERSION : (hex) complete version number (major << 16) + (minor << 8) + maintenance +HEXABLOCK_DEVELOPMENT : (integer) indicates development version when set to 1 + */ + +#define HEXABLOCK_VERSION_MAJOR @SALOMEHEXABLOCK_MAJOR_VERSION@ +#define HEXABLOCK_VERSION_MINOR @SALOMEHEXABLOCK_MINOR_VERSION@ +#define HEXABLOCK_VERSION_MAINTENANCE @SALOMEHEXABLOCK_PATCH_VERSION@ +#define HEXABLOCK_VERSION_STR "@SALOMEHEXABLOCK_VERSION@" +#define HEXABLOCK_VERSION @SALOMEHEXABLOCK_XVERSION@ +#define HEXABLOCK_DEVELOPMENT @SALOMEHEXABLOCK_VERSION_DEV@ #endif // __HEXABLOCK_VERSION_H__ diff --git a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx index 4acadca..a928adb 100755 --- a/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx +++ b/src/HEXABLOCKGUI/HEXABLOCKGUI.cxx @@ -98,7 +98,7 @@ #include "HEXABLOCKGUI_OccGraphicView.hxx" #include "HEXABLOCKGUI_GraphicViewsHandler.hxx" -#include +#include "HEXABLOCK_version.h" #include "MyBasicGUI_PointDlg.hxx" diff --git a/src/HEXABLOCKGUI/resources/SalomeApp.xml.in b/src/HEXABLOCKGUI/resources/SalomeApp.xml.in index a003c8e..16ab98d 100755 --- a/src/HEXABLOCKGUI/resources/SalomeApp.xml.in +++ b/src/HEXABLOCKGUI/resources/SalomeApp.xml.in @@ -24,15 +24,15 @@ - +
- +
- +