#include <Utils_SALOME_Exception.hxx>
#include <Utils_SINGLETON.hxx>
#include <utilities.h>
+#include "KernelBasis.hxx"
#include "Session_Session_i.hxx"
#include "Session_ServerCheck.hxx"
class GUIAppOldStyle
{
public:
+ static constexpr bool SSL_MODE = false;
using NamingServiceImplementation = OldStyleNS;
void connectToNSIfNeeded(CORBA::ORB_ptr orb) { _NS.reset(new SALOME_NamingService(orb)); }
void shutdownCORBAStufIfNeeded(bool shutdownAll, CORBA::ORB_ptr orb);
class GUIAppNewStyle
{
public:
+ static constexpr bool SSL_MODE = true;
using NamingServiceImplementation = NewStyleNS;
void connectToNSIfNeeded(CORBA::ORB_ptr orb) { /*! nothing */ }
void shutdownCORBAStufIfNeeded(bool shutdownAll, CORBA::ORB_ptr orb) { /*! nothing */ }
int AbstractGUIAppMain(int argc, char **argv)
{
using NamingServiceImplementation = typename GUI_APP_STYLE::NamingServiceImplementation;
+ setSSLMode(GUI_APP_STYLE::SSL_MODE);
GUI_APP_STYLE self;
// Set-up application settings configuration (as for QSettings)
// Note: these are default settings which can be customized (see below)
constexpr char MAIN_PROGRAM[] = "SALOME_Session_Server_No_Server";
constexpr char NO_SERVER_ENV_VAR[] = "SALOME_EMB_SERVANT";
#ifndef WIN32
- const char *MODULES[]={"SHAPERSTUDY","GEOM","SMESH","HYBRIDPLUGIN","GHS3DPLUGIN","BLSURFPLUGIN","GMSHPLUGIN","HEXABLOCKPLUGIN","HEXOTICPLUGIN","GHS3DPRLPLUGIN","NETGENPLUGIN"};
- const char *MODULES_PATH[]={"GUI","SHAPER","SHAPERSTUDY","GEOM","SMESH","HYBRIDPLUGIN","GHS3DPLUGIN","BLSURFPLUGIN","GMSHPLUGIN","HEXABLOCKPLUGIN","GHS3DPRLPLUGIN","NETGENPLUGIN"};
+ const char *MODULES[]={"SHAPERSTUDY","GEOM","SMESH","YACS","HYBRIDPLUGIN","GHS3DPLUGIN","BLSURFPLUGIN","GMSHPLUGIN","HEXABLOCKPLUGIN","HEXOTICPLUGIN","GHS3DPRLPLUGIN","NETGENPLUGIN"};
+ const char *MODULES_PATH[]={"GUI","SHAPER","SHAPERSTUDY","GEOM","SMESH","YACS","HYBRIDPLUGIN","GHS3DPLUGIN","BLSURFPLUGIN","GMSHPLUGIN","HEXABLOCKPLUGIN","GHS3DPRLPLUGIN","NETGENPLUGIN"};
#else
const char *MODULES[]={"SHAPERSTUDY","GEOM","SMESH","HYBRIDPLUGIN","BLSURFPLUGIN","GMSHPLUGIN","HEXABLOCKPLUGIN","HEXOTICPLUGIN","NETGENPLUGIN"};
const char *MODULES_PATH[]={"GUI","SHAPER","SHAPERSTUDY","GEOM","SMESH","HYBRIDPLUGIN","BLSURFPLUGIN","GMSHPLUGIN","HEXABLOCKPLUGIN","NETGENPLUGIN"};
args << catalogs.join("::");
args << ")";
args << "--with" << "SALOMEDS" << "(" << ")" << "--with" << "Container" << "(" << "FactoryServer" << ")" << "--with" << "SalomeAppEngine" << "(" << ")" << "CPP";
- args << QString("--resources=%1").arg(resfile) << "--modules" << "(SHAPER:GEOM:SMESH)";
+ args << QString("--resources=%1").arg(resfile) << "--modules" << "(SHAPER:GEOM:SMESH:YACS)";
if( pe.contains("VERBOSE") )
{
std::cout << "Overloaded env var :" << std::endl;