/*!
\return
*/
-SALOME_NamingService* SalomeApp_Engine_i::namingService()
+SALOME_NamingService_Abstract* SalomeApp_Engine_i::namingService()
{
- static SALOME_NamingService _ns(orb());
- return &_ns;
+ return SalomeApp_Application::namingService();
}
/*!
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SalomeApp_Engine)
-class SALOME_NamingService;
+class SALOME_NamingService_Abstract;
class SALOMEAPP_EXPORT SalomeApp_Engine_i: public POA_SalomeApp::Engine,
public Engines_Component_i
private:
static CORBA::ORB_var orb();
static PortableServer::POA_var poa();
- static SALOME_NamingService* namingService();
+ static SALOME_NamingService_Abstract* namingService();
private:
MapOfFiles myListOfFiles;
bool myKeepFiles;