]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
NRI : Merge from V1_2.
authornri <nri@opencascade.com>
Thu, 10 Jul 2003 18:40:25 +0000 (18:40 +0000)
committernri <nri@opencascade.com>
Thu, 10 Jul 2003 18:40:25 +0000 (18:40 +0000)
src/Session/SALOME_Session_i.cxx

index 4e2e5b5ef52e5cf80d50ad5d17e4a1597d92d790..0265845606263de0eeb85de31d31866928db2198 100644 (file)
@@ -68,11 +68,12 @@ SALOME_Session_i::SALOME_Session_i(int argc, char ** argv, CORBA::ORB_ptr orb, P
 
 Engines::Component_ptr SALOME_Session_i::GetVisuComponent() {
   MESSAGE("SALOME_Session_i::GetVisuGen");
-  typedef Engines::Component_ptr VisuGen(CORBA::ORB_ptr,PortableServer::POA_ptr,QMutex*);
+  typedef Engines::Component_ptr VisuGen(CORBA::ORB_ptr,PortableServer::POA_ptr,
+                                        SALOME_NamingService*,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);
+      return ((VisuGen (*)) osdFun)(_orb,_poa,_NS,&_GUIMutex);
   return Engines::Component::_nil();
 }