Salome HOME
Merge branch 'omu/launcher_evol'
[modules/kernel.git] / src / Launcher / Launcher_Job_Command.hxx
index ead4fb5b26fd61b81cde5892e7e5435ca5b98127..d95b01b5d0c38b3b7a5de66cc483ad1def719aa1 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2009-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2009-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -26,7 +26,7 @@
 #include "Launcher.hxx"
 
 #ifdef WITH_LIBBATCH
-#include <Batch/Batch_Job.hxx>
+#include <libbatch/Job.hxx>
 #endif
 
 namespace Launcher
@@ -39,9 +39,12 @@ namespace Launcher
 
       virtual void update_job();
 
+      static const char TYPE_NAME[];
+
 #ifdef WITH_LIBBATCH
     protected:
       std::string buildCommandScript(Batch::Parametre params, std::string launch_date);
+      virtual std::string runCommandString();
 #endif
   };
 }