X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fmed.git;a=blobdiff_plain;f=src%2FMEDCalc%2Fcmp%2FMED.cxx;fp=src%2FMEDCalc%2Fcmp%2FMED.cxx;h=fceead5b682ac767e2354978d7bb99dbb855af53;hp=d6b4d0903454f9eff152b4ecbfb136cd73bb0ce8;hb=1e178f93a59f53208d8dc3df7c3d47399125f57f;hpb=447ed0122c90e2cd229e43b58d8efaba8bc0a438 diff --git a/src/MEDCalc/cmp/MED.cxx b/src/MEDCalc/cmp/MED.cxx index d6b4d0903..fceead5b6 100644 --- a/src/MEDCalc/cmp/MED.cxx +++ b/src/MEDCalc/cmp/MED.cxx @@ -49,8 +49,9 @@ MED::MED(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId* contId, const char* instanceName, - const char* interfaceName) - : Engines_Component_i(orb, poa, contId, instanceName, interfaceName), + const char* interfaceName, + bool checkNS) + : Engines_Component_i(orb, poa, contId, instanceName, interfaceName, false, checkNS), _fieldSeriesEntries(), _meshEntries() { @@ -464,25 +465,3 @@ void MED::cleanUp() _fieldSeriesEntries.clear(); _meshEntries.clear(); } - -extern "C" -{ - /*! - \brief Exportable factory function: create an instance of the MED component engine - \param orb reference to the ORB - \param poa reference to the POA - \param contId CORBA object ID, pointing to the owner SALOME container - \param instanceName SALOME component instance name - \param interfaceName SALOME component interface name - \return CORBA object identifier of the registered servant - */ - PortableServer::ObjectId* FIELDSEngine_factory(CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - PortableServer::ObjectId* contId, - const char* instanceName, - const char* interfaceName) - { - MED* component = new MED(orb, poa, contId, instanceName, interfaceName); - return component->getId(); - } -}