]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
Embedding feature patch 1: add zipFiles and unzipToDir to support
[lyx.git] / src / support / filetools.h
index 6d717a58c66783794d9fe45b66f36377c4713fdc..150202106937904ae85474a728e10e987cdb5ca3 100644 (file)
@@ -314,6 +314,12 @@ typedef std::pair<int, std::string> cmd_ret;
 
 cmd_ret const runCommand(std::string const & cmd);
 
+/// zip several files to a zipfile. In-zip filenames are also specified
+bool zipFiles(DocFileName const & zipfile, std::vector<std::pair<std::string, std::string> > const & files);
+
+/// Unzip a zip file to a directory
+bool unzipToDir(std::string const & zipfile, std::string const & path);
+
 } // namespace support
 } // namespace lyx