23#include <wx/wfstream.h>
24#include <wx/zipstrm.h>
45 const std::vector<JOB_OUTPUT>& aOutputsToHandle )
57 wxZipOutputStream zipstream( ostream, -1, wxConvUTF8 );
67 if( !zipstream.Close() )
bool OutputPrecheck() override
Checks if the output process can proceed before doing anything else This can include user prompts.
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.