#include "support/Path.h"
#include "support/textutils.h"
#include "support/types.h"
+#include "support/FileZipListDir.h"
#if !defined (HAVE_FORK)
# define fork() -1
#include "support/Package.h"
#include "support/Path.h"
#include "support/Systemcall.h"
+#include "support/FileZipListDir.h"
using std::find_if;
using std::string;
#include "support/convert.h"
#include "support/lyxlib.h"
#include "support/lstrings.h"
+#include "support/FileZipListDir.h"
#include <sstream>
#include <fstream>
--- /dev/null
+// -*- 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>
+
+namespace lyx {
+namespace support {
+
+/// \return list other files in the directory having optional extension 'ext'.
+std::vector<FileName> dirList(FileName const & filename, std::string const & ext);
+
+
+} // 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
#include "support/docstring.h"
#include "support/FileName.h"
-#include <vector>
#include <utility>
#include <string>
cmd_ret const runCommand(std::string const & cmd);
-/// \return list other files in the directory having optional extension 'ext'.
-std::vector<FileName> dirList(FileName const & filename, std::string const & ext);
-
} // 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