22#include <wx/filename.h>
33 const std::vector<JOB_OUTPUT>& aOutputsToHandle )
37 wxFileName::Rmdir(
m_outputPath, wxPATH_RMDIR_RECURSIVE );
41 if( !wxFileName::Mkdir(
m_outputPath, wxS_DIR_DEFAULT ) )
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 CopyDirectory(const wxString &aSourceDir, const wxString &aDestDir, wxString &aErrors)
Copy a directory and its contents to another directory.