Fix compilation errors after merging KERNEL module from V4_1_0_maintainance branch

This commit is contained in:
abd 2008-10-10 10:20:44 +00:00
parent 90f96fce55
commit 4c2f4f9b50

View File

@ -35,7 +35,7 @@
#include CORBA_SERVER_HEADER(SALOME_Component) #include CORBA_SERVER_HEADER(SALOME_Component)
#include CORBA_SERVER_HEADER(SALOME_Exception) #include CORBA_SERVER_HEADER(SALOME_Exception)
#include "OpUtil.hxx" #include "Basics_Utils.hxx"
#include "utilities.h" #include "utilities.h"
#ifdef WNT #ifdef WNT
@ -591,7 +591,7 @@ SMESH_Client::GetSMESHGen(CORBA::ORB_ptr theORB,
Engines::Component_var aComponent = aLifeCycleCORBA.FindOrLoad_Component("FactoryServer","SMESH"); Engines::Component_var aComponent = aLifeCycleCORBA.FindOrLoad_Component("FactoryServer","SMESH");
aMeshGen = SMESH::SMESH_Gen::_narrow(aComponent); aMeshGen = SMESH::SMESH_Gen::_narrow(aComponent);
std::string aClientHostName = GetHostname(); std::string aClientHostName = Kernel_Utils::GetHostname();
Engines::Container_var aServerContainer = aMeshGen->GetContainerRef(); Engines::Container_var aServerContainer = aMeshGen->GetContainerRef();
CORBA::String_var aServerHostName = aServerContainer->getHostName(); CORBA::String_var aServerHostName = aServerContainer->getHostName();
CORBA::Long aServerPID = aServerContainer->getPID(); CORBA::Long aServerPID = aServerContainer->getPID();