]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
NRI : Remove dependence with VISU.
authornri <nri@opencascade.com>
Wed, 21 May 2003 10:14:46 +0000 (10:14 +0000)
committernri <nri@opencascade.com>
Wed, 21 May 2003 10:14:46 +0000 (10:14 +0000)
src/Session/SALOME_Session_i.cxx

index 258842f4bc07be3c83171c345eb192b379c14c4b..c57e4cd99eb97fc5ae7448c11d39f6e39adab33c 100644 (file)
@@ -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();
 }