27 #ifndef _SALOMEAPP_ENGINE_I_HXX_
28 #define _SALOMEAPP_ENGINE_I_HXX_
32 #include "SALOME_Component_i.hxx"
37 #include <SALOMEconfig.h>
38 #include CORBA_SERVER_HEADER(SalomeApp_Engine)
40 class SALOME_NamingService;
49 SALOMEDS::TMPFile* Save( SALOMEDS::SComponent_ptr theComponent,
53 CORBA::Boolean
Load( SALOMEDS::SComponent_ptr theComponent,
54 const SALOMEDS::TMPFile& theFile,
58 virtual Engines::TMPFile* DumpPython(CORBA::Object_ptr theStudy,
59 CORBA::Boolean isPublished,
60 CORBA::Boolean isMultiFile,
61 CORBA::Boolean& isValidScript);
67 void SetListOfFiles (
const ListOfFiles& theListOfFiles,
68 const int theStudyId);
70 static std::string EngineIORForComponent(
const char* theComponentName,
75 static CORBA::Object_ptr EngineForComponent(
const char* theComponentName,
81 SALOMEDS::TMPFile*
SaveASCII( SALOMEDS::SComponent_ptr,
const char*,
bool ) {
return 0;}
82 CORBA::Boolean
LoadASCII( SALOMEDS::SComponent_ptr,
const SALOMEDS::TMPFile&,
const char*,
bool ) {
return 0;}
83 void Close( SALOMEDS::SComponent_ptr ) {}
84 char* ComponentDataType();
88 SALOMEDS::SObject_ptr
PublishInStudy(SALOMEDS::Study_ptr, SALOMEDS::SObject_ptr, CORBA::Object_ptr,
const char* ) throw (SALOME::SALOME_Exception) {
return 0;}
89 CORBA::Boolean
CanCopy( SALOMEDS::SObject_ptr ) {
return 0;}
90 SALOMEDS::TMPFile*
CopyFrom( SALOMEDS::SObject_ptr, CORBA::Long& ) {
return 0;}
91 CORBA::Boolean
CanPaste(
const char*, CORBA::Long ) {
return 0;}
92 SALOMEDS::SObject_ptr
PasteInto(
const SALOMEDS::TMPFile&, CORBA::Long, SALOMEDS::SObject_ptr ) {
return 0;}
97 static CORBA::ORB_var orb();
98 static PortableServer::POA_var poa();
99 static SALOME_NamingService* namingService();