From: nri Date: Wed, 21 May 2003 10:14:46 +0000 (+0000) Subject: NRI : Remove dependence with VISU. X-Git-Tag: V1_4_0~110 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f0d4fdb502a2362d8471d716bd6b9d8eb75f0bd5;p=modules%2Fkernel.git NRI : Remove dependence with VISU. --- diff --git a/src/Session/SALOME_Session_i.cxx b/src/Session/SALOME_Session_i.cxx index 258842f4b..c57e4cd99 100644 --- a/src/Session/SALOME_Session_i.cxx +++ b/src/Session/SALOME_Session_i.cxx @@ -51,15 +51,13 @@ SALOME_Session_i::SALOME_Session_i(int argc, char ** argv, CORBA::ORB_ptr orb, P //***// return VISU::VISU_Gen::_nil(); //***//} -typedef Engines::Component_ptr VisuGen(CORBA::ORB_var,PortableServer::POA_ptr,QMutex*); Engines::Component_ptr SALOME_Session_i::GetVisuComponent() { MESSAGE("SALOME_Session_i::GetVisuGen"); + typedef Engines::Component_ptr VisuGen(CORBA::ORB_ptr,PortableServer::POA_ptr,QMutex*); OSD_SharedLibrary visuSharedLibrary("libVISUEngine.so"); if(visuSharedLibrary.DlOpen(OSD_RTLD_LAZY)) if(OSD_Function osdFun = visuSharedLibrary.DlSymb("GetVisuGen")) return ((VisuGen (*)) osdFun)(_orb,_poa,&_GUIMutex); - - MESSAGE ( "nil" ) return Engines::Component::_nil(); }