]> git.lyx.org Git - lyx.git/blob - src/support/FileZipListDir.h
Now that exceptions are allowed, handle gracefully the case where a Buffer temp direc...
[lyx.git] / src / support / FileZipListDir.h
1 // -*- C++ -*-
2 /**
3  * \file FileZipDir.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef LYX_FILEZIPDIR_H
13 #define LYX_FILEZIPDIR_H
14
15 #include "support/docstring.h"
16 #include "support/filetools.h"
17
18 #include <vector>
19 #include <utility>
20 #include <string>
21
22 /// The following functions are implemented in minizip/zipunzip.cpp, and are not in
23 /// the lyx::support namespace
24
25 /// zip several files to a zipfile. In-zip filenames are also specified
26 bool zipFiles(std::string const & zipfile, std::vector<std::pair<std::string, std::string> > const & files);
27
28 /// Unzip a zip file to a directory
29 bool unzipToDir(std::string const & zipfile, std::string const & path);
30
31
32 #endif