Pcbnew: Restrict includes of pad.h/footprint.h

There are some headers which don't need to include pad.h (which brings
padstack.h) - they just need forward defines.

While pad.h is not an especially heavy include on the scale of things,
footprint is quite heavy. And both reduce inclusion load and
reduce the number of files needlessly sensitive to changes in headers.
This commit is contained in:
John Beard
2026-03-05 02:18:34 +08:00
parent ea87a99c9e
commit c4c19018c3
103 changed files with 320 additions and 174 deletions
+1
View File
@@ -26,6 +26,7 @@
#include <array_options.h>
#include <array_pad_number_provider.h>
#include <dialogs/dialog_create_array.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_generator.h>
#include <pcb_group.h>