From fad7df16b573d021a1846dc08cba0b20325e39f5 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 16 Oct 2012 08:48:54 +0000 Subject: [PATCH] 0021478: EDF 2083 ALL: Write the version of Salome used to create the study in the hdf file --- src/ENGINE/VISU_Engine_i.cc | 6 ++++++ src/ENGINE/VISU_Engine_i.hh | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/ENGINE/VISU_Engine_i.cc b/src/ENGINE/VISU_Engine_i.cc index 7c7d8c67..d8027799 100644 --- a/src/ENGINE/VISU_Engine_i.cc +++ b/src/ENGINE/VISU_Engine_i.cc @@ -561,4 +561,10 @@ namespace VISU{ { return myVisuGen->LoadTexture(theTextureFile); } + + /* Version information */ + char* VISU_Gen_i::getVersion() + { + return myVisuGen->getVersion(); + } }; diff --git a/src/ENGINE/VISU_Engine_i.hh b/src/ENGINE/VISU_Engine_i.hh index fa1371bd..77db49de 100644 --- a/src/ENGINE/VISU_Engine_i.hh +++ b/src/ENGINE/VISU_Engine_i.hh @@ -246,6 +246,8 @@ namespace VISU CORBA::Boolean theIsMultiFile, CORBA::Boolean& theIsValidScript); + virtual char* getVersion(); + virtual VISU::ColoredPrs3dCache_ptr GetColoredPrs3dCache(SALOMEDS::Study_ptr theStudy); -- 2.39.2