// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+#include "HOMARD_version.h"
#include "HOMARD_Gen_i.hxx"
#include "HOMARD_Cas_i.hxx"
#include "HOMARD_Hypothesis_i.hxx"
return aStreamFile._retn();
}
+//==========================================================================
+char* HOMARD_Gen_i::getVersion()
+{
+#if HOMARD_DEVELOPMENT
+ return CORBA::string_dup(HOMARD_VERSION_STR"dev");
+#else
+ return CORBA::string_dup(HOMARD_VERSION_STR);
+#endif
+}
+
//=============================================================================
extern "C"
{
HOMARD::HOMARD_Boundary_ptr newBoundary();
- virtual Engines::TMPFile* DumpPython(CORBA::Object_ptr theStudy,
- CORBA::Boolean isPublished,
- CORBA::Boolean isMultiFile,
- CORBA::Boolean& isValidScript);
-
+ virtual Engines::TMPFile* DumpPython(CORBA::Object_ptr theStudy,
+ CORBA::Boolean isPublished,
+ CORBA::Boolean isMultiFile,
+ CORBA::Boolean& isValidScript);
+
+ virtual char* getVersion();
private:
struct StudyContext
$(GEOM_CXXFLAGS) \
-I$(srcdir)/../HOMARD \
-I$(srcdir)/../HOMARDGUI \
+ -I$(top_builddir) \
-I$(top_builddir)/idl \
-I$(GEOM_ROOT_DIR)/include/salome \
- -I$(SMESH_ROOT_DIR)/include/salome \
+ -I$(SMESH_ROOT_DIR)/include/salome \
-I$(MED_ROOT_DIR)/include/salome \
-I$(top_builddir)/adm_local/unix