]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/runtime/SalomeContainer.cxx
Salome HOME
Modification of API of ComponentInstance::load to give information of which node...
[modules/yacs.git] / src / runtime / SalomeContainer.cxx
index ef67c063149b2a1a3f852cfb7b047c650c0dfd5b..4dd6f719ec31a92d4ab0cd813f9c8d7f8d153b25 100644 (file)
@@ -29,6 +29,7 @@
 #include "RuntimeSALOME.hxx"
 #include "SalomeContainer.hxx"
 #include "SalomeComponent.hxx"
+#include "ServiceNode.hxx"
 #include "Proc.hxx"
 
 #include "SALOME_NamingService.hxx"
@@ -145,9 +146,9 @@ void SalomeContainer::addToResourceList(const std::string& name)
 /*!
  * \param inst the component instance to load
  */
-CORBA::Object_ptr SalomeContainer::loadComponent(ComponentInstance *inst)
+CORBA::Object_ptr SalomeContainer::loadComponent(ServiceNode *inst)
 {
-  return SalomeContainerTools::LoadComponent(_launchModeType,this,inst);
+  return SalomeContainerTools::LoadComponent(_launchModeType,this,inst->getComponent());
 }
 
 //! Get the container placement id for a component instance