35 JOBSET_JOB( wxString
id, wxString type,
JOB* job ) : m_id( id ), m_type( type ), m_job( job ) {}
56 void InitOutputHandler();
74 JOBSET(
const wxString& aFilename );
83 std::vector<JOBSET_JOB> GetJobsForOutput(
JOBSET_OUTPUT* aOutput );
85 std::vector<JOBSET_OUTPUT>&
GetOutputs() {
return m_outputs; }
89 bool SaveToFile(
const wxString& aDirectory =
"",
bool aForce =
false )
override;
94 wxString
GetFullName()
const {
return m_fileNameWithoutPath; }
96 void AddNewJob( wxString aType,
JOB* aJob );
100 void MoveJobUp(
size_t aJobIdx );
101 void MoveJobDown(
size_t aJobIdx );
102 void RemoveJob(
size_t aJobIdx );
105 wxString getFileExt()
const override;
121#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
Transient property, not stored for now.
JOBS_OUTPUT_HANDLER * m_outputHandler
std::unordered_map< wxString, std::optional< bool > > m_lastRunSuccessMap
std::optional< bool > m_lastRunSuccess
JOBSET_OUTPUT_TYPE m_type