33 #include "zip_file_entry.h" 42 class ZipArchive_Impl;
117 std::shared_ptr<ZipArchive_Impl> impl;
std::string get_pathname(const std::string &filename)
Get full path to source:
I/O Device interface.
Definition: iodevice.h:49
ZipArchive()
Constructs or loads a ZIP archive.
void load(IODevice &input)
Loads the zip archive from a input device (done automatically at construction).
std::vector< ZipFileEntry > get_file_list()
List of file entries in archive.
Zip archive.
Definition: zip_archive.h:45
IODevice open_file(const std::string &filename)
Opens a file in the archive.
void save()
Saves zip archive.
void add_file(const std::string &input_filename, const std::string &filename_in_archive)
Adds a file to zip archive.
IODevice create_file(const std::string &filename, bool compress=true)
Creates a new file entry.