${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
+ ${CMAKE_CURRENT_SOURCE_DIR}/../KernelHelpers
+ ${CMAKE_CURRENT_SOURCE_DIR}/../LifeCycleCORBA
${PROJECT_BINARY_DIR}/idl
)
SALOMELocalTrace
SALOMEBasics
SalomeIDLKernel
+ SalomeKernelHelpers
${LIBXML2_LIBRARIES}
${PTHREAD_LIBRARIES}
)
static const char* SEPARATOR = "::";
static const char* OLD_SEPARATOR = ":";
+SALOME_ModuleCatalog::ModuleCatalog_ptr KERNEL::getModuleComponentServantSA()
+{
+ static SALOME_ModuleCatalog::ModuleCatalog_var moduleCata;
+ if(CORBA::is_nil(moduleCata))
+ {
+ CORBA::ORB_ptr orb = KERNEL::getORB();
+ char *argv[4] = {"SALOME_ModuleCatalog_Server","-common","\"/home/H87074/salomeDEV/DEV2/share/salome/resources/geom/GEOMCatalog.xml\"::\"/home/H87074/salomeDEV/DEV2/share/salome/resources/smesh/SMESHCatalog.xml\"",nullptr};
+ SALOME_ModuleCatalogImpl *servant = new SALOME_ModuleCatalogImpl(3,argv,orb);
+ moduleCata = servant->_this();
+ }
+ return SALOME_ModuleCatalog::ModuleCatalog::_duplicate(moduleCata);
+}
std::list<std::string> splitStringToList(const std::string& theString, const std::string& theSeparator)
{
// Module : SALOME
// $Header$
//
-#ifndef MODULECATALOG_IMPL_H
-#define MODULECATALOG_IMPL_H
+#pragma once
#include "SALOME_ModuleCatalog.hxx"
+#include "SALOME_KernelServices.hxx"
#include <string>
#include <map>
#pragma warning(disable:4290) // Warning Exception ...
#endif
+namespace KERNEL
+{
+ MODULECATALOG_EXPORT SALOME_ModuleCatalog::ModuleCatalog_ptr getModuleComponentServantSA();
+}
+
class MODULECATALOG_EXPORT SALOME_ModuleCatalogImpl: public POA_SALOME_ModuleCatalog::ModuleCatalog
{
class Private;
CORBA::ORB_ptr _orb;
Private* myPrivate;
};
-
-#endif // MODULECATALOG_IMPL_H