From f0d4fdb502a2362d8471d716bd6b9d8eb75f0bd5 Mon Sep 17 00:00:00 2001 From: nri Date: Wed, 21 May 2003 10:14:46 +0000 Subject: [PATCH] NRI : Remove dependence with VISU. --- src/Session/SALOME_Session_i.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(); } -- 2.39.2