KiCad PCB EDA Suite
Loading...
Searching...
No Matches
jobs_runner.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2024 Mark Roszko <[email protected]>
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software: you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation, either version 3 of the License, or (at your
10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#pragma once
22
23class JOBSET;
24struct JOBSET_OUTPUT;
25struct JOBSET_JOB;
26class KIWAY;
27class REPORTER;
28class PROJECT;
29
31{
32public:
33 JOBS_RUNNER( KIWAY* aKiway, JOBSET* aJobsFile, PROJECT* aProject,
34 REPORTER* aReporter = nullptr );
35
36 bool RunJobsAllOutputs( bool aBail = false );
37 bool RunJobsForOutput( JOBSET_OUTPUT* aOutput, bool aBail = false );
38
39private:
40 int runSpecialExecute( const JOBSET_JOB* aJob, PROJECT* aProject );
41 int runSpecialCopyFiles( const JOBSET_JOB* aJob, PROJECT* aProject );
42
43private:
48};
Definition: jobset.h:105
bool RunJobsForOutput(JOBSET_OUTPUT *aOutput, bool aBail=false)
KIWAY * m_kiway
Definition: jobs_runner.h:44
JOBSET * m_jobsFile
Definition: jobs_runner.h:45
bool RunJobsAllOutputs(bool aBail=false)
Definition: jobs_runner.cpp:51
int runSpecialExecute(const JOBSET_JOB *aJob, PROJECT *aProject)
Definition: jobs_runner.cpp:64
PROJECT * m_project
Definition: jobs_runner.h:47
REPORTER * m_reporter
Definition: jobs_runner.h:46
int runSpecialCopyFiles(const JOBSET_JOB *aJob, PROJECT *aProject)
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
Definition: kiway.h:285
Container for project specific data.
Definition: project.h:64
A pure virtual class used to derive REPORTER objects from.
Definition: reporter.h:72