Salome HOME
- Fixes for BatchManager_Local
[tools/libbatch.git] / src / Core / CommunicationProtocolRSH.hxx
index 6a32d08d7e9f2c00dd2f656b017a0c323acbae0f..c62fc9a0577c753845ce61a9ff45a2f235873104 100644 (file)
@@ -39,6 +39,8 @@ namespace Batch {
 
   class BATCH_EXPORT CommunicationProtocolRSH : public CommunicationProtocol
   {
+    friend class CommunicationProtocol;
+
   public:
     std::vector<std::string> getExecCommandArgs(const std::string & subCommand,
                                                 const std::string & host,
@@ -62,12 +64,18 @@ namespace Batch {
                  const std::string & destinationHost,
                  const std::string & destinationUser) const;
 
+#endif
+
   protected:
 
+#ifdef WIN32
+
     char getDriveLetter(const std::string & path, std::string * pathWithoutDrive = NULL) const;
 
 #endif
 
+    CommunicationProtocolRSH();
+
   };
 
 }