#include "KernelBasis.hxx"
static bool DEFAULT_SSL_MODE = false;
+static bool GUI_MODE = false;
// IOR of SALOME_Embedded_NamingService servant
static std::string IOR_OF_EMBEDDED_NS;
DEFAULT_SSL_MODE = sslMode;
}
+bool getGUIMode()
+{
+ return GUI_MODE;
+}
+
+void setGUIMode(bool guiMode)
+{
+ GUI_MODE = guiMode;
+}
+
std::string BASICS_EXPORT getIOROfEmbeddedNS()
{
return IOR_OF_EMBEDDED_NS;
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);
bool getSSLMode();
void setSSLMode(bool sslMode);
+bool getGUIMode();
+void setGUIMode(bool guiMode);
+
std::string getIOROfEmbeddedNS();
void setIOROfEmbeddedNS(const std::string& ior);
salome_study_close()
myStudy, myStudyName = None, None
import KernelBasis
- if KernelBasis.getSSLMode():
+ if KernelBasis.getSSLMode() and not KernelBasis.getGUIMode():
import KernelDS
KernelDS.KillGlobalSessionInstance()
import KernelSDS