]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.h
Move two minizip functions from filetools.cpp to its own file minizip/zipunzip.cpp...
[lyx.git] / src / support / filetools.h
index 6d717a58c66783794d9fe45b66f36377c4713fdc..25445a47bb491b5660f0ad24cbc0dddaf37541b8 100644 (file)
@@ -317,4 +317,14 @@ cmd_ret const runCommand(std::string const & cmd);
 } // namespace support
 } // namespace lyx
 
+/// The following functions are implemented in minizip/zipunzip.cpp, and are not in
+/// the lyx::support namespace
+
+/// zip several files to a zipfile. In-zip filenames are also specified
+bool zipFiles(std::string 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);
+
+
 #endif