X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBasics%2FKernelBasis.hxx;h=cbecfe72e1940b7e4329e87c913ac70bd3b2fb86;hb=d1070d09cfbba6d9b72d8f2ca8d07d23f296686c;hp=cafaad2b369c402c315f13f39529531227b8165d;hpb=e43e8bd5d6ca0572b00f86cefdb63b0563e92ec8;p=modules%2Fkernel.git diff --git a/src/Basics/KernelBasis.hxx b/src/Basics/KernelBasis.hxx index cafaad2b3..cbecfe72e 100644 --- a/src/Basics/KernelBasis.hxx +++ b/src/Basics/KernelBasis.hxx @@ -22,6 +22,7 @@ #include "SALOME_Basics.hxx" #include +#include bool BASICS_EXPORT getSSLMode(); void BASICS_EXPORT setSSLMode(bool sslMode); @@ -33,3 +34,18 @@ void BASICS_EXPORT setIOROfEmbeddedNS(const std::string& ior); void BASICS_EXPORT WriteInStdout(const std::string& msg); void BASICS_EXPORT WriteInStderr(const std::string& msg); + +namespace SALOME +{ + enum class PyExecutionMode { NotSet, InProcess, OutOfProcessNoReplay, OutOfProcessWithReplay }; + void BASICS_EXPORT SetPyExecutionMode(PyExecutionMode mode); + void BASICS_EXPORT SetPyExecutionModeStr(const std::string& mode); + std::vector BASICS_EXPORT GetAllPyExecutionModes(); + std::string BASICS_EXPORT GetPyExecutionModeStr(); + PyExecutionMode BASICS_EXPORT GetPyExecutionMode(); + int BASICS_EXPORT GetBigObjOnDiskThreshold(); + void BASICS_EXPORT SetBigObjOnDiskThreshold(int newThresholdInByte); + std::string BASICS_EXPORT GetBigObjOnDiskDirectory(); + void BASICS_EXPORT SetBigObjOnDiskDirectory(const std::string& directory); + bool BASICS_EXPORT BigObjOnDiskDirectoryDefined(); +}