Salome HOME
Issue 0020349: compatibility python 2.6 in import_hook
[modules/kernel.git] / src / Batch / Batch_BatchManager_Local_SSH.hxx
index 4d6c2eed96cce2c1e7ac8b8e8459feaaf91ff8e1..12772fb46e2aa9d45370c656c550729274cc4704 100644 (file)
@@ -1,3 +1,24 @@
+//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//
+//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+//  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.
+//
+//  This library is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+//  Lesser General Public License for more details.
+//
+//  You should have received a copy of the GNU Lesser General Public
+//  License along with this library; if not, write to the Free Software
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 /*
  * BatchManager_Local_SSH.hxx : 
  *
@@ -11,6 +32,7 @@
 #ifndef _BATCHMANAGER_LOCAL_SSH_H_
 #define _BATCHMANAGER_LOCAL_SSH_H_
 
+#include "Batch_Defines.hxx"
 
 #include <vector>
 #include <map>
@@ -32,7 +54,7 @@ namespace Batch {
 
   class FactBatchManager;
 
-  class BatchManager_Local_SSH : public BatchManager_Local
+  class BATCH_EXPORT BatchManager_Local_SSH : public BatchManager_Local
   {
   public:
     // Constructeur et destructeur
@@ -41,13 +63,17 @@ namespace Batch {
 
   protected:
     // Methode abstraite qui renvoie la commande de copie du fichier source en destination
-    virtual string copy_command(const string & host_source, const string & source, const string & host_destination, const string & destination) const;
+    virtual std::string copy_command( const std::string & host_source,
+                                     const std::string & source,
+                                     const std::string & host_destination,
+                                     const std::string & destination) const;
 
     // Methode abstraite qui renvoie la commande a executer
-    virtual string exec_command(Parametre & param) const;
+    virtual std::string exec_command(Parametre & param) const;
 
     // Methode qui renvoie la commande d'effacement du fichier
-    virtual string remove_command(const string & host_destination, const string & destination) const;
+    virtual std::string remove_command( const std::string & host_destination,
+                                       const std::string & destination) const;
 
   };