X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBasics%2FKernelBasis.hxx;h=cbecfe72e1940b7e4329e87c913ac70bd3b2fb86;hb=d1070d09cfbba6d9b72d8f2ca8d07d23f296686c;hp=184fb99879f03b00b9fe270421fde0e002387547;hpb=888f04cad3e3fa57bf92c96789959fc87bfdd555;p=modules%2Fkernel.git diff --git a/src/Basics/KernelBasis.hxx b/src/Basics/KernelBasis.hxx index 184fb9987..cbecfe72e 100644 --- a/src/Basics/KernelBasis.hxx +++ b/src/Basics/KernelBasis.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2021 CEA/DEN, EDF R&D +// Copyright (C) 2021-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -21,5 +21,31 @@ #include "SALOME_Basics.hxx" +#include +#include + bool BASICS_EXPORT getSSLMode(); void BASICS_EXPORT setSSLMode(bool sslMode); +bool BASICS_EXPORT getGUIMode(); +void BASICS_EXPORT setGUIMode(bool guiMode); + +std::string BASICS_EXPORT getIOROfEmbeddedNS(); +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(); +}