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();
}