10 void* pmz_zip_writer_instance_ =
nullptr;
11 void* pzip_handle_ =
nullptr;
12 void Create()
override;
13 mz_zip_file fileInfo_ = {};
15 int32_t CloseInternal();
16 void DeleteInternal();
19 explicit ArchiveWriter(
const std::filesystem::path& archivePath);
23 int32_t Close()
override;
24 void Delete()
override;
30 int32_t AddFileInArchive(
const FileBuffer& FileBufferToAdd);
31 int32_t AddFileInArchive(
const std::filesystem::path& FileToAdd);
32 int32_t AddPathInArchive(
const std::filesystem::path& path_to_add,
33 const std::filesystem::path& root_path);
34 void* InternalPointer()
const override {
return pmz_zip_writer_instance_; }