35 JOBSET_JOB( wxString
id, wxString type,
JOB* job ) : m_id( id ), m_type( type ), m_job( job ) {}
57 m_id( id ), m_type( type ), m_outputHandler( outputHandler )
72 JOBSET(
const wxString& aFilename );
81 std::vector<JOBSET_JOB> GetJobsForOutput(
JOBSET_OUTPUT* aOutput );
83 std::vector<JOBSET_OUTPUT>&
GetOutputs() {
return m_outputs; }
87 bool SaveToFile(
const wxString& aDirectory =
"",
bool aForce =
false )
override;
92 wxString
GetFullName()
const {
return m_fileNameWithoutPath; }
94 void AddNewJob( wxString aType,
JOB* aJob );
99 void MoveJobUp(
size_t aJobIdx );
100 void MoveJobDown(
size_t aJobIdx );
101 void RemoveJob(
size_t aJobIdx );
104 wxString getFileExt()
const override;
120#if defined( __MINGW32__ )
bool operator==(const wxAuiPaneInfo &aLhs, const wxAuiPaneInfo &aRhs)
wxString m_fileNameWithoutPath
std::vector< JOBSET_JOB > m_jobs
std::vector< JOBSET_OUTPUT > m_outputs
std::vector< JOBSET_JOB > & GetJobs()
std::vector< JOBSET_OUTPUT > & GetOutputs()
wxString GetFullName() const
An simple container class that lets us dispatch output jobs to kifaces.
KICOMMON_API void from_json(const nlohmann::json &j, JOBSET_JOB &f)
KICOMMON_API void to_json(nlohmann::json &j, const JOBSET_JOB &f)
std::shared_ptr< JOB > m_job
JOBSET_JOB(wxString id, wxString type, JOB *job)
std::vector< wxString > m_only
JOBS_OUTPUT_HANDLER * m_outputHandler
JOBSET_OUTPUT(wxString id, JOBSET_OUTPUT_TYPE type, JOBS_OUTPUT_HANDLER *outputHandler)
JOBSET_OUTPUT_TYPE m_type