From 961de6227839401e799b9450574b9aea0ac4e1c0 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sun, 11 May 2025 13:28:41 -0400 Subject: [PATCH] Remove extra include from job headers --- common/jobs/job.h | 3 ++- common/jobs/job_export_pcb_3d.h | 1 - common/jobs/job_export_pcb_drill.h | 1 - common/jobs/job_export_pcb_dxf.h | 1 - common/jobs/job_export_pcb_gencad.h | 1 - common/jobs/job_export_pcb_gerber.h | 1 - common/jobs/job_export_pcb_gerbers.h | 1 - common/jobs/job_export_pcb_ipc2581.h | 1 - common/jobs/job_export_pcb_ipcd356.h | 1 - common/jobs/job_export_pcb_odb.h | 1 - common/jobs/job_export_pcb_pdf.h | 1 - common/jobs/job_export_pcb_plot.h | 1 - common/jobs/job_export_pcb_pos.h | 1 - common/jobs/job_export_pcb_ps.h | 1 - common/jobs/job_export_sch_bom.h | 1 - common/jobs/job_export_sch_netlist.h | 1 - common/jobs/job_export_sch_plot.h | 1 - common/jobs/job_export_sch_pythonbom.h | 1 - common/jobs/job_fp_export_svg.h | 1 - common/jobs/job_fp_upgrade.h | 1 - common/jobs/job_pcb_render.h | 1 - common/jobs/job_rc.h | 1 - common/jobs/job_special_copyfiles.h | 1 - common/jobs/job_special_execute.h | 1 - common/jobs/job_sym_export_svg.h | 1 - common/jobs/job_sym_upgrade.h | 1 - 26 files changed, 2 insertions(+), 26 deletions(-) diff --git a/common/jobs/job.h b/common/jobs/job.h index 6f1522db8a..8dd83d91a6 100644 --- a/common/jobs/job.h +++ b/common/jobs/job.h @@ -20,9 +20,10 @@ #pragma once +#include + #include #include -#include #include #include #include diff --git a/common/jobs/job_export_pcb_3d.h b/common/jobs/job_export_pcb_3d.h index 3eb3cda8ac..a00427ecf6 100644 --- a/common/jobs/job_export_pcb_3d.h +++ b/common/jobs/job_export_pcb_3d.h @@ -23,7 +23,6 @@ #include #include -#include #include "job.h" // Default value to chain 2 shapes when creating the board outlines diff --git a/common/jobs/job_export_pcb_drill.h b/common/jobs/job_export_pcb_drill.h index 3681c6b8c0..a8b30b011c 100644 --- a/common/jobs/job_export_pcb_drill.h +++ b/common/jobs/job_export_pcb_drill.h @@ -23,7 +23,6 @@ #include #include -#include #include "job.h" class KICOMMON_API JOB_EXPORT_PCB_DRILL : public JOB diff --git a/common/jobs/job_export_pcb_dxf.h b/common/jobs/job_export_pcb_dxf.h index f6a658fd5f..b39801865e 100644 --- a/common/jobs/job_export_pcb_dxf.h +++ b/common/jobs/job_export_pcb_dxf.h @@ -24,7 +24,6 @@ #include #include #include -#include #include #include "job.h" diff --git a/common/jobs/job_export_pcb_gencad.h b/common/jobs/job_export_pcb_gencad.h index 6d98d7ba6c..565dec6c36 100644 --- a/common/jobs/job_export_pcb_gencad.h +++ b/common/jobs/job_export_pcb_gencad.h @@ -24,7 +24,6 @@ #include #include #include -#include #include "job.h" class KICOMMON_API JOB_EXPORT_PCB_GENCAD : public JOB diff --git a/common/jobs/job_export_pcb_gerber.h b/common/jobs/job_export_pcb_gerber.h index 8fbba4be09..489e699cf9 100644 --- a/common/jobs/job_export_pcb_gerber.h +++ b/common/jobs/job_export_pcb_gerber.h @@ -24,7 +24,6 @@ #include #include #include -#include #include class KICOMMON_API JOB_EXPORT_PCB_GERBER : public JOB_EXPORT_PCB_PLOT diff --git a/common/jobs/job_export_pcb_gerbers.h b/common/jobs/job_export_pcb_gerbers.h index f5ac8d4202..2f25cdef4d 100644 --- a/common/jobs/job_export_pcb_gerbers.h +++ b/common/jobs/job_export_pcb_gerbers.h @@ -25,7 +25,6 @@ #include "job_export_pcb_gerber.h" #include #include -#include #include "job.h" class KICOMMON_API JOB_EXPORT_PCB_GERBERS : public JOB_EXPORT_PCB_GERBER diff --git a/common/jobs/job_export_pcb_ipc2581.h b/common/jobs/job_export_pcb_ipc2581.h index 6735ba464b..80edaff420 100644 --- a/common/jobs/job_export_pcb_ipc2581.h +++ b/common/jobs/job_export_pcb_ipc2581.h @@ -22,7 +22,6 @@ #define JOB_EXPORT_PCB_IPC2581_H #include -#include #include "job.h" class KICOMMON_API JOB_EXPORT_PCB_IPC2581 : public JOB diff --git a/common/jobs/job_export_pcb_ipcd356.h b/common/jobs/job_export_pcb_ipcd356.h index 84970a029c..e763b27a4e 100644 --- a/common/jobs/job_export_pcb_ipcd356.h +++ b/common/jobs/job_export_pcb_ipcd356.h @@ -22,7 +22,6 @@ #define JOB_EXPORT_PCB_IPCD356_H #include -#include #include "job.h" class KICOMMON_API JOB_EXPORT_PCB_IPCD356 : public JOB diff --git a/common/jobs/job_export_pcb_odb.h b/common/jobs/job_export_pcb_odb.h index 9f599ddc0f..498c2f915c 100644 --- a/common/jobs/job_export_pcb_odb.h +++ b/common/jobs/job_export_pcb_odb.h @@ -21,7 +21,6 @@ #define JOB_EXPORT_PCB_ODB_H #include -#include #include "job.h" class KICOMMON_API JOB_EXPORT_PCB_ODB : public JOB diff --git a/common/jobs/job_export_pcb_pdf.h b/common/jobs/job_export_pcb_pdf.h index d2402ffe3e..544ad671ba 100644 --- a/common/jobs/job_export_pcb_pdf.h +++ b/common/jobs/job_export_pcb_pdf.h @@ -25,7 +25,6 @@ #include #include #include -#include #include diff --git a/common/jobs/job_export_pcb_plot.h b/common/jobs/job_export_pcb_plot.h index f7a603b373..73dd87f449 100644 --- a/common/jobs/job_export_pcb_plot.h +++ b/common/jobs/job_export_pcb_plot.h @@ -24,7 +24,6 @@ #include #include #include -#include #include "job.h" class KICOMMON_API JOB_EXPORT_PCB_PLOT : public JOB diff --git a/common/jobs/job_export_pcb_pos.h b/common/jobs/job_export_pcb_pos.h index 20f4f64475..b28c95ba00 100644 --- a/common/jobs/job_export_pcb_pos.h +++ b/common/jobs/job_export_pcb_pos.h @@ -23,7 +23,6 @@ #include #include -#include #include "job.h" class KICOMMON_API JOB_EXPORT_PCB_POS : public JOB diff --git a/common/jobs/job_export_pcb_ps.h b/common/jobs/job_export_pcb_ps.h index eea5b4e42f..a4c4f1595d 100644 --- a/common/jobs/job_export_pcb_ps.h +++ b/common/jobs/job_export_pcb_ps.h @@ -25,7 +25,6 @@ #include #include #include -#include #include diff --git a/common/jobs/job_export_sch_bom.h b/common/jobs/job_export_sch_bom.h index 00dc305bb0..0d31814019 100644 --- a/common/jobs/job_export_sch_bom.h +++ b/common/jobs/job_export_sch_bom.h @@ -23,7 +23,6 @@ #include #include -#include #include "job.h" class KICOMMON_API JOB_EXPORT_SCH_BOM : public JOB diff --git a/common/jobs/job_export_sch_netlist.h b/common/jobs/job_export_sch_netlist.h index 49b394456e..685d130ca6 100644 --- a/common/jobs/job_export_sch_netlist.h +++ b/common/jobs/job_export_sch_netlist.h @@ -22,7 +22,6 @@ #define JOB_EXPORT_SCH_NETLIST_H #include -#include #include "job.h" class KICOMMON_API JOB_EXPORT_SCH_NETLIST : public JOB diff --git a/common/jobs/job_export_sch_plot.h b/common/jobs/job_export_sch_plot.h index 4b68ace4f3..89a280a358 100644 --- a/common/jobs/job_export_sch_plot.h +++ b/common/jobs/job_export_sch_plot.h @@ -23,7 +23,6 @@ #include #include -#include #include "job.h" diff --git a/common/jobs/job_export_sch_pythonbom.h b/common/jobs/job_export_sch_pythonbom.h index 522d217858..ad56b1d3d8 100644 --- a/common/jobs/job_export_sch_pythonbom.h +++ b/common/jobs/job_export_sch_pythonbom.h @@ -22,7 +22,6 @@ #define JOB_EXPORT_SCH_PYTHONBOM_H #include -#include #include "job.h" class KICOMMON_API JOB_EXPORT_SCH_PYTHONBOM : public JOB diff --git a/common/jobs/job_fp_export_svg.h b/common/jobs/job_fp_export_svg.h index dc83a37adc..1b33b65f23 100644 --- a/common/jobs/job_fp_export_svg.h +++ b/common/jobs/job_fp_export_svg.h @@ -24,7 +24,6 @@ #include #include #include -#include #include #include "job.h" diff --git a/common/jobs/job_fp_upgrade.h b/common/jobs/job_fp_upgrade.h index a3491c5500..af87917983 100644 --- a/common/jobs/job_fp_upgrade.h +++ b/common/jobs/job_fp_upgrade.h @@ -22,7 +22,6 @@ #define JOB_FP_UPGRADE_H #include -#include #include "job.h" class KICOMMON_API JOB_FP_UPGRADE : public JOB diff --git a/common/jobs/job_pcb_render.h b/common/jobs/job_pcb_render.h index ff23744187..0f89361d5f 100644 --- a/common/jobs/job_pcb_render.h +++ b/common/jobs/job_pcb_render.h @@ -23,7 +23,6 @@ #define JOB_PCB_RENDER_H #include -#include #include "job.h" #include #include diff --git a/common/jobs/job_rc.h b/common/jobs/job_rc.h index d5c0bfdc43..f13389a07c 100644 --- a/common/jobs/job_rc.h +++ b/common/jobs/job_rc.h @@ -21,7 +21,6 @@ #pragma once #include -#include #include #include "job.h" diff --git a/common/jobs/job_special_copyfiles.h b/common/jobs/job_special_copyfiles.h index 94490e5500..4d84137d69 100644 --- a/common/jobs/job_special_copyfiles.h +++ b/common/jobs/job_special_copyfiles.h @@ -21,7 +21,6 @@ #pragma once #include -#include #include class KICOMMON_API JOB_SPECIAL_COPYFILES : public JOB diff --git a/common/jobs/job_special_execute.h b/common/jobs/job_special_execute.h index 7b3c923539..2114052e21 100644 --- a/common/jobs/job_special_execute.h +++ b/common/jobs/job_special_execute.h @@ -21,7 +21,6 @@ #pragma once #include -#include #include class KICOMMON_API JOB_SPECIAL_EXECUTE : public JOB diff --git a/common/jobs/job_sym_export_svg.h b/common/jobs/job_sym_export_svg.h index 96bf4f44b2..8547d9492d 100644 --- a/common/jobs/job_sym_export_svg.h +++ b/common/jobs/job_sym_export_svg.h @@ -22,7 +22,6 @@ #define JOB_SYM_EXPORT_SVG_H #include -#include #include "job.h" class KICOMMON_API JOB_SYM_EXPORT_SVG : public JOB diff --git a/common/jobs/job_sym_upgrade.h b/common/jobs/job_sym_upgrade.h index a1244e2cca..42e85abeaa 100644 --- a/common/jobs/job_sym_upgrade.h +++ b/common/jobs/job_sym_upgrade.h @@ -22,7 +22,6 @@ #define JOB_SYM_UPGRADE_H #include -#include #include "job.h" class KICOMMON_API JOB_SYM_UPGRADE : public JOB