Mesen/Utilities/ZipWriter.h
Souryo 850102bbdc Input: Added support for ~20 new peripherals (Incomplete, more fixes/changes to come)
Movies: Rewrote format to support all IO devices and console types
Netplay: Now supports all IO devices and console types
2017-11-19 23:08:23 -05:00

21 lines
402 B
C++

#pragma once
#include "stdafx.h"
#include "miniz.h"
class ZipWriter
{
private:
mz_zip_archive _zipArchive;
string _zipFilename;
public:
ZipWriter();
~ZipWriter();
bool Initialize(string filename);
bool Save();
void AddFile(string filepath, string zipFilename);
void AddFile(vector<uint8_t> &fileData, string zipFilename);
void AddFile(std::stringstream &filestream, string zipFilename);
};