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