]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/runtime/RuntimeSALOME.cxx
Salome HOME
Fix for ADAO case in SSL mode
[modules/yacs.git] / src / runtime / RuntimeSALOME.cxx
index f50bfd298942ff24bdea65c7bb06c3690dfc1e2e..d41e67033d8f7176ac4a4dd74b899801f77815d7 100644 (file)
@@ -59,6 +59,7 @@
 #include "SalomeContainer.hxx"
 #include "CppContainer.hxx"
 #include "SalomeHPContainer.hxx"
+#include "PythonCppUtils.hxx"
 
 //Nodes
 #include "PythonNode.hxx"
@@ -248,6 +249,15 @@ RuntimeSALOME::~RuntimeSALOME()
     }
 }
 
+void RuntimeSALOME::loadModulCatalog()
+{
+  AutoGIL agil;
+  const char * SCRIPT = "from salome_kernel import list_of_catalogs_regarding_environement\n"
+"import KernelModuleCatalog\n"
+"KernelModuleCatalog.myModuleCatalog( list_of_catalogs_regarding_environement() )\n";
+  PyRun_SimpleString(SCRIPT);
+}
+
 //! CORBA and Python initialization
 /*!
  *  \param flags contains several bits