KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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 <mark.roszko@gmail.com>
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;
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 RunJobsAllDestinations( bool aBail = false );
37 bool RunJobsForDestination( JOBSET_DESTINATION* aDestination, 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:106
bool RunJobsAllDestinations(bool aBail=false)
Definition: jobs_runner.cpp:51
KIWAY * m_kiway
Definition: jobs_runner.h:44
JOBSET * m_jobsFile
Definition: jobs_runner.h:45
bool RunJobsForDestination(JOBSET_DESTINATION *aDestination, bool aBail=false)
int runSpecialExecute(const JOBSET_JOB *aJob, PROJECT *aProject)
Definition: jobs_runner.cpp:62
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:73