26 #ifndef _SALOME_LIFECYCLECORBA_HXX_
27 #define _SALOME_LIFECYCLECORBA_HXX_
35 #include <SALOMEconfig.h>
36 #include <Utils_SALOME_Exception.hxx>
37 #include CORBA_CLIENT_HEADER(SALOME_ContainerManager)
38 #include CORBA_CLIENT_HEADER(SALOME_Component)
42 # if defined LIFECYCLECORBA_EXPORTS || defined SalomeLifeCycleCORBA_EXPORTS
43 # define LIFECYCLECORBA_EXPORT __declspec( dllexport )
45 # define LIFECYCLECORBA_EXPORT __declspec( dllimport )
48 # define LIFECYCLECORBA_EXPORT
67 Engines::EngineComponent_ptr
69 const char *componentName,
72 Engines::EngineComponent_ptr
74 const char *componentName,
77 Engines::EngineComponent_ptr
79 const char *componentName,
82 Engines::EngineComponent_ptr
83 FindOrLoad_Component(
const char *containerName,
84 const char *componentName);
87 Engines::EngineComponent_ptr
89 const char *componentName,
92 bool isKnownComponentClass(
const char *componentName);
99 Engines::ContainerManager_ptr getContainerManager();
100 Engines::ResourcesManager_ptr getResourcesManager();
102 CORBA::ORB_ptr orb();
103 void copyFile(
const char* hostSrc,
const char* fileSrc,
const char* hostDest,
const char* fileDest);
105 void shutdownServers();
106 static void killOmniNames();
115 Engines::EngineComponent_ptr
117 const char *componentName,
121 Engines::EngineComponent_ptr
123 const char *componentName,
128 Engines::ContainerManager_var _ContManager;
129 Engines::ResourcesManager_var _ResManager;