Salome HOME
Updated copyright comment
[modules/kernel.git] / src / Launcher / Launcher_Job_SALOME.hxx
index 3fd34b3de96ff690e6b58a0f2e1227b8bab5041c..93e6c9df6a9d4005a540d48a5e1d866666c74821 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2009-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2009-2024  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -24,6 +24,7 @@
 
 #include "Launcher_Job.hxx"
 #include "Launcher.hxx"
+#include "Launcher_Utils.hxx"
 
 #ifdef WITH_LIBBATCH
 #include <libbatch/Job.hxx>
@@ -34,7 +35,7 @@ namespace Launcher
   class LAUNCHER_EXPORT Job_SALOME : virtual public Launcher::Job
   {
     public:
-      Job_SALOME();
+      Job_SALOME(bool activateSession=true);
       virtual ~Job_SALOME();
 
       virtual void setResourceDefinition(const ParserResourcesType & resource_definition);
@@ -45,6 +46,8 @@ namespace Launcher
       std::string buildSalomeScript(Batch::Parametre params);
       virtual void addJobTypeSpecificScript(std::ofstream & launch_script_stream) = 0;
 #endif
+  private:
+      bool _activateSession;
   };
 }