23#include <wx/wfstream.h>
24#include <wx/zipstrm.h>
33 const std::vector<JOB_OUTPUT>& aOutputsToHandle )
45 wxZipOutputStream zipstream( ostream, -1, wxConvUTF8 );
55 if( !zipstream.Close() )
void FromJson(const nlohmann::json &j) override
void ToJson(nlohmann::json &j) const override
bool HandleOutputs(const wxString &baseTempPath, const std::vector< JOB_OUTPUT > &aOutputsToHandle) override
bool AddDirectoryToZip(wxZipOutputStream &aZip, const wxString &aSourceDir, wxString &aErrors, const wxString &aParentDir)
Add a directory and its contents to a zip file.