Version et engine

This commit is contained in:
Gérald NICOLAS 2020-05-20 18:06:11 +02:00
parent e48a18b261
commit ad3b3a2bbf
2 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@
#include "FrontTrack.hxx" #include "FrontTrack.hxx"
#include "HOMARD_version.h" #include "SMESH_version.h"
#include "utilities.h" #include "utilities.h"
#include "Basics_Utils.hxx" #include "Basics_Utils.hxx"
@ -5174,9 +5174,9 @@ void SALOMEException( std::string message )
char* HOMARD_Gen_i::getVersion() char* HOMARD_Gen_i::getVersion()
{ {
#if HOMARD_DEVELOPMENT #if HOMARD_DEVELOPMENT
return CORBA::string_dup(HOMARD_VERSION_STR"dev"); return CORBA::string_dup(SMESH_VERSION_STR"dev");
#else #else
return CORBA::string_dup(HOMARD_VERSION_STR); return CORBA::string_dup(SMESH_VERSION_STR);
#endif #endif
} }
//=============================================================================== //===============================================================================
@ -5419,13 +5419,13 @@ CORBA::Long HOMARD_Gen_i::GetYACSConvergenceType()
extern "C" extern "C"
{ {
HOMARDENGINE_EXPORT HOMARDENGINE_EXPORT
PortableServer::ObjectId* HOMARDEngine_factory(CORBA::ORB_ptr orb, PortableServer::ObjectId* ADAPTEngine_factory(CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa, PortableServer::POA_ptr poa,
PortableServer::ObjectId* contId, PortableServer::ObjectId* contId,
const char* instanceName, const char* instanceName,
const char* interfaceName) const char* interfaceName)
{ {
MESSAGE("PortableServer::ObjectId* HOMARDEngine_factory()"); MESSAGE("PortableServer::ObjectId* ADAPTEngine_factory()");
HOMARD_Gen_i* myHOMARD_Gen = new HOMARD_Gen_i(orb, poa, contId, instanceName, interfaceName); HOMARD_Gen_i* myHOMARD_Gen = new HOMARD_Gen_i(orb, poa, contId, instanceName, interfaceName);
return myHOMARD_Gen->getId(); return myHOMARD_Gen->getId();
} }

View File

@ -21,7 +21,7 @@
#define _HOMARD_I_HXX_ #define _HOMARD_I_HXX_
#ifdef WIN32 #ifdef WIN32
#if defined HOMARDENGINE_EXPORTS || defined HOMARDEngine_EXPORTS #if defined HOMARDENGINE_EXPORTS || defined ADAPTEngine_EXPORTS
#define HOMARDENGINE_EXPORT __declspec( dllexport ) #define HOMARDENGINE_EXPORT __declspec( dllexport )
#else #else
#define HOMARDENGINE_EXPORT __declspec( dllimport ) #define HOMARDENGINE_EXPORT __declspec( dllimport )