This repository has been archived on 2025-03-22. You can view files and clone it, but cannot push or open issues or pull requests.
organicmaps-tmp/coding/zip_creator.hpp
Viktor Govako 454338996c [bookmarks] Export to kmz with custom user symbols.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-10-09 17:27:17 -03:00

19 lines
577 B
C++

#pragma once
#include <string>
#include <vector>
enum class CompressionLevel
{
NoCompression = 0,
BestSpeed,
BestCompression,
DefaultCompression,
Count
};
/// @param[in] filePaths Full paths on disk to archive.
/// @param[in] fileNames Correspondent (for filePaths) file names in archive.
bool CreateZipFromFiles(std::vector<std::string> const & filePaths, std::string const & zipFilePath,
CompressionLevel compression = CompressionLevel::DefaultCompression,
std::vector<std::string> const * fileNames = nullptr);