22#include <wx/filename.h>
34 const std::vector<JOB_OUTPUT>& aOutputsToHandle )
39 if( !wxFileName::DirExists( outputPath ) )
41 if( !wxFileName::Mkdir( 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
bool HandleOutputs(const wxString &aBaseTempPath, PROJECT *aProject, const std::vector< JOB_OUTPUT > &aOutputsToHandle) override
wxString GetDefaultDescription() const override
void ToJson(nlohmann::json &j) const override
Container for project specific data.
const wxString ExpandEnvVarSubstitutions(const wxString &aString, const PROJECT *aProject)
Replace any environment variable & text variable references with their values.
wxString ExpandTextVars(const wxString &aSource, const PROJECT *aProject, int aFlags)
bool CopyDirectory(const wxString &aSourceDir, const wxString &aDestDir, wxString &aErrors)
Copy a directory and its contents to another directory.