From 7d78f0b4d309398cd7931b8a645ff9588c3208cc Mon Sep 17 00:00:00 2001 From: frutiemax Date: Fri, 25 Nov 2022 17:26:05 -0500 Subject: [PATCH] Use forward declarations in kicad_manager_frame.h --- kicad/kicad_cli.cpp | 1 + kicad/kicad_manager_frame.cpp | 5 +++++ kicad/kicad_manager_frame.h | 15 ++++++--------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/kicad/kicad_cli.cpp b/kicad/kicad_cli.cpp index 31916db9d5..1efd6a7874 100644 --- a/kicad/kicad_cli.cpp +++ b/kicad/kicad_cli.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/kicad/kicad_manager_frame.cpp b/kicad/kicad_manager_frame.cpp index 7ee8090858..75adbed90c 100644 --- a/kicad/kicad_manager_frame.cpp +++ b/kicad/kicad_manager_frame.cpp @@ -24,8 +24,11 @@ */ #include "kicad_id.h" +#include "pcm.h" #include "pgm_kicad.h" #include "project_tree_pane.h" +#include "widgets/bitmap_button.h" + #include #include #include @@ -57,6 +60,8 @@ #include #include #include +#include +#include #include diff --git a/kicad/kicad_manager_frame.h b/kicad/kicad_manager_frame.h index 7b054f2d09..c0ce0faf6f 100644 --- a/kicad/kicad_manager_frame.h +++ b/kicad/kicad_manager_frame.h @@ -25,19 +25,16 @@ #ifndef KICAD_H #define KICAD_H - -#include #include -#include -#include "pcm.h" -#include "widgets/bitmap_button.h" +class ACTION_TOOLBAR; +class BITMAP_BUTTON; +class EDA_BASE_FRAME; +class KICAD_SETTINGS; +class PANEL_KICAD_LAUNCHER; +class PLUGIN_CONTENT_MANAGER; class PROJECT_TREE; class PROJECT_TREE_PANE; -class ACTION_TOOLBAR; -class KICAD_SETTINGS; -class EDA_BASE_FRAME; -class PANEL_KICAD_LAUNCHER; /** * The main KiCad project manager frame. It is not a KIWAY_PLAYER.