#endif
#include "SMESH_Gen_i.hxx"
+#include "SMESH_version.h"
#include "SMDS_EdgePosition.hxx"
#include "SMDS_FacePosition.hxx"
return myCurrentStudy->_is_nil() || myCurrentStudy->_non_existent() ? -1 : myCurrentStudy->StudyId();
}
+// Version information
+char* SMESH_Gen_i::getVersion()
+{
+#if SMESH_DEVELOPMENT
+ return CORBA::string_dup(SMESH_VERSION_STR"dev");
+#else
+ return CORBA::string_dup(SMESH_VERSION_STR);
+#endif
+}
+
//=============================================================================
/*!
* SMESHEngine_factory