lyx_mirror/src/support/FileZipListDir.h
Abdelrazak Younes e017570aa8 Introducing FileNameList, cleanup some headers and put back dirList() into FileName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21965 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-05 10:32:49 +00:00

33 lines
836 B
C++

// -*- C++ -*-
/**
* \file FileZipDir.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS.
*/
#ifndef LYX_FILEZIPDIR_H
#define LYX_FILEZIPDIR_H
#include "support/docstring.h"
#include "support/filetools.h"
#include <vector>
#include <utility>
#include <string>
/// 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