X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCore%2FBatch_CommunicationProtocol.hxx;h=c21ca8a04fc4f771c40e68f4a20caee1a28118ed;hb=09f00d3d40dbc8380e3248b0fbda9405174e5d66;hp=f8b091668b00714b409e15d9e75c1f6921f8ce08;hpb=7fc98d19755f2eb2eb46ec840ae786535131a799;p=tools%2Flibbatch.git diff --git a/src/Core/Batch_CommunicationProtocol.hxx b/src/Core/Batch_CommunicationProtocol.hxx index f8b0916..c21ca8a 100644 --- a/src/Core/Batch_CommunicationProtocol.hxx +++ b/src/Core/Batch_CommunicationProtocol.hxx @@ -64,6 +64,10 @@ namespace Batch { const std::string & host, const std::string & user) const; + virtual int makeDirectory(const std::string & path, + const std::string & host, + const std::string & user) const; + protected: virtual std::vector getCopyCommandArgs(const std::string & sourcePath, @@ -75,6 +79,8 @@ namespace Batch { virtual std::string getRemoveSubCommand(const std::string & path) const; + virtual std::string getMakeDirectorySubCommand(const std::string & path) const; + std::string commandStringFromArgs(const std::vector & args) const; };