final cleanup about removing useless include

This commit is contained in:
jean-pierre charras 2020-10-03 16:40:36 +02:00
parent 0b23cb7dbb
commit 3144bab36f
36 changed files with 3 additions and 60 deletions

View File

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <dialog_constraints_reporter.h> #include <dialog_constraints_reporter.h>
#include <pcb_base_frame.h> #include <pcb_base_frame.h>
#include <wx_html_report_box.h> #include <wx_html_report_box.h>

View File

@ -23,7 +23,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <confirm.h> #include <confirm.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>

View File

@ -31,7 +31,6 @@
#include <class_module.h> #include <class_module.h>
#include <confirm.h> #include <confirm.h>
#include <dialog_text_entry.h> #include <dialog_text_entry.h>
#include <fctsys.h>
#include <filename_resolver.h> #include <filename_resolver.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>

View File

@ -24,11 +24,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <confirm.h> #include <confirm.h>
#include <dialog_text_entry.h> #include <dialog_text_entry.h>
#include <pcbnew.h>
#include <kiface_i.h>
#include <3d_viewer/eda_3d_viewer.h> #include <3d_viewer/eda_3d_viewer.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <validators.h> #include <validators.h>

View File

@ -29,10 +29,8 @@
#include <class_board.h> #include <class_board.h>
#include <class_module.h> #include <class_module.h>
#include <dialog_exchange_footprints.h> #include <dialog_exchange_footprints.h>
#include <fctsys.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <kiway.h> #include <kiway.h>
#include <macros.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <project.h> #include <project.h>

View File

@ -23,15 +23,11 @@
*/ */
#include <fctsys.h>
//#include <kiface_i.h>
//#include <common.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>
#include <reporter.h> #include <reporter.h>
#include <confirm.h> #include <confirm.h>
#include <pcbnew.h>
#include <pcbplot.h> #include <pcbplot.h>
#include <class_board.h> #include <class_board.h>
#include <dialog_export_svg_base.h> #include <dialog_export_svg_base.h>

View File

@ -30,11 +30,9 @@
#include <class_board.h> #include <class_board.h>
#include <confirm.h> #include <confirm.h>
#include <fctsys.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <pcbnew.h>
#include <project/project_file.h> // LAST_PATH_TYPE #include <project/project_file.h> // LAST_PATH_TYPE

View File

@ -29,7 +29,6 @@
#include <class_pcb_text.h> #include <class_pcb_text.h>
#include <class_text_mod.h> #include <class_text_mod.h>
#include <dialog_find.h> #include <dialog_find.h>
#include <fctsys.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <string> #include <string>

View File

@ -24,7 +24,6 @@
*/ */
#include <fctsys.h>
#include <invoke_pcb_dialog.h> #include <invoke_pcb_dialog.h>
#include <dialog_fp_plugin_options_base.h> #include <dialog_fp_plugin_options_base.h>
#include <fp_lib_table.h> #include <fp_lib_table.h>

View File

@ -22,7 +22,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <confirm.h> #include <confirm.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
@ -54,7 +53,7 @@ int PCB_EDITOR_CONTROL::GenerateDrillFiles( const TOOL_EVENT& aEvent )
{ {
PCB_EDIT_FRAME* editFrame = getEditFrame<PCB_EDIT_FRAME>(); PCB_EDIT_FRAME* editFrame = getEditFrame<PCB_EDIT_FRAME>();
DIALOG_GENDRILL dlg( editFrame, editFrame ); DIALOG_GENDRILL dlg( editFrame, editFrame );
dlg.ShowModal(); dlg.ShowModal();
return 0; return 0;
} }

View File

@ -24,7 +24,6 @@
#include <functional> #include <functional>
using namespace std::placeholders; using namespace std::placeholders;
#include <fctsys.h>
#include <confirm.h> #include <confirm.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
@ -62,7 +61,7 @@ int GLOBAL_EDIT_TOOL::GlobalDeletions( const TOOL_EVENT& aEvent )
{ {
PCB_EDIT_FRAME* editFrame = getEditFrame<PCB_EDIT_FRAME>(); PCB_EDIT_FRAME* editFrame = getEditFrame<PCB_EDIT_FRAME>();
DIALOG_GLOBAL_DELETION dlg( editFrame ); DIALOG_GLOBAL_DELETION dlg( editFrame );
dlg.SetCurrentLayer( frame()->GetActiveLayer() ); dlg.SetCurrentLayer( frame()->GetActiveLayer() );
dlg.ShowModal(); dlg.ShowModal();
return 0; return 0;

View File

@ -22,7 +22,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <board_commit.h> #include <board_commit.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>

View File

@ -22,7 +22,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <class_board.h> #include <class_board.h>
#include <class_track.h> #include <class_track.h>
@ -382,7 +381,7 @@ int GLOBAL_EDIT_TOOL::EditTracksAndVias( const TOOL_EVENT& aEvent )
{ {
PCB_EDIT_FRAME* editFrame = getEditFrame<PCB_EDIT_FRAME>(); PCB_EDIT_FRAME* editFrame = getEditFrame<PCB_EDIT_FRAME>();
DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS dlg( editFrame ); DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS dlg( editFrame );
dlg.ShowQuasiModal(); // QuasiModal required for NET_SELECTOR dlg.ShowQuasiModal(); // QuasiModal required for NET_SELECTOR
return 0; return 0;
} }

View File

@ -22,7 +22,6 @@
#include <confirm.h> #include <confirm.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <macros.h>
#include "fp_lib_table.h" #include "fp_lib_table.h"

View File

@ -26,8 +26,6 @@
* Edit properties of Lines, Circles, Arcs and Polygons for PCBNew and ModEdit * Edit properties of Lines, Circles, Arcs and Polygons for PCBNew and ModEdit
*/ */
#include <fctsys.h>
#include <macros.h>
#include <confirm.h> #include <confirm.h>
#include <pcb_base_edit_frame.h> #include <pcb_base_edit_frame.h>
#include <wx/valnum.h> #include <wx/valnum.h>

View File

@ -21,11 +21,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <project.h> #include <project.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <confirm.h> #include <confirm.h>
#include <macros.h>
#include <html_messagebox.h> #include <html_messagebox.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>

View File

@ -26,7 +26,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <confirm.h> #include <confirm.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>

View File

@ -29,8 +29,6 @@
#include <algorithm> #include <algorithm>
#include <fctsys.h>
#include <common.h>
#include <confirm.h> #include <confirm.h>
#include <trigo.h> #include <trigo.h>
#include <pcb_base_frame.h> #include <pcb_base_frame.h>

View File

@ -24,11 +24,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <confirm.h> #include <confirm.h>
#include <base_units.h> #include <base_units.h>
#include <pcbnew.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <pcbplot.h> #include <pcbplot.h>
#include <class_board.h> #include <class_board.h>

View File

@ -23,7 +23,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <confirm.h> #include <confirm.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>

View File

@ -30,8 +30,6 @@
#include <Python.h> #include <Python.h>
#undef HAVE_CLOCK_GETTIME // macro is defined in Python.h and causes redefine warning #undef HAVE_CLOCK_GETTIME // macro is defined in Python.h and causes redefine warning
#include <fctsys.h>
#include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <dialog_scripting.h> #include <dialog_scripting.h>

View File

@ -23,7 +23,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <tools/pcb_inspection_tool.h> #include <tools/pcb_inspection_tool.h>
#include <class_board.h> #include <class_board.h>
#include <class_track.h> #include <class_track.h>

View File

@ -23,15 +23,12 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <dialog_helpers.h> #include <dialog_helpers.h>
#include <base_units.h> #include <base_units.h>
#include <gr_basic.h>
#include <board_commit.h> #include <board_commit.h>
#include <class_board.h> #include <class_board.h>
#include <class_pcb_target.h> #include <class_pcb_target.h>
#include <pcbnew.h>
#include <dialog_target_properties_base.h> #include <dialog_target_properties_base.h>
#include <widgets/unit_binder.h> #include <widgets/unit_binder.h>

View File

@ -24,8 +24,6 @@
#include <dialog_text_properties.h> #include <dialog_text_properties.h>
#include <confirm.h> #include <confirm.h>
#include <gr_text.h>
#include <fctsys.h>
#include <widgets/unit_binder.h> #include <widgets/unit_binder.h>
#include <board_commit.h> #include <board_commit.h>
#include <class_board.h> #include <class_board.h>
@ -34,7 +32,6 @@
#include <class_text_mod.h> #include <class_text_mod.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcb_layer_box_selector.h> #include <pcb_layer_box_selector.h>
#include <pcbnew.h>
#include <wx/valnum.h> #include <wx/valnum.h>
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND

View File

@ -18,8 +18,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <fctsys.h>
#include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcb_display_options.h> #include <pcb_display_options.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>

View File

@ -24,12 +24,10 @@
#include <board_design_settings.h> #include <board_design_settings.h>
#include <class_board.h> #include <class_board.h>
#include <fctsys.h>
#include <panel_edit_options.h> #include <panel_edit_options.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcb_painter.h> #include <pcb_painter.h>
#include <pcb_view.h> #include <pcb_view.h>
#include <pcbnew.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <widgets/paged_dialog.h> #include <widgets/paged_dialog.h>
#include <footprint_edit_frame.h> #include <footprint_edit_frame.h>

View File

@ -35,7 +35,6 @@
#include <wx/regex.h> #include <wx/regex.h>
#include <wx/grid.h> #include <wx/grid.h>
#include <fctsys.h>
#include <project.h> #include <project.h>
#include <3d_viewer/eda_3d_viewer.h> // for KISYS3DMOD #include <3d_viewer/eda_3d_viewer.h> // for KISYS3DMOD
#include <panel_fp_lib_table.h> #include <panel_fp_lib_table.h>

View File

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <widgets/paged_dialog.h> #include <widgets/paged_dialog.h>
#include <footprint_edit_frame.h> #include <footprint_edit_frame.h>
#include <footprint_editor_settings.h> #include <footprint_editor_settings.h>

View File

@ -24,12 +24,10 @@
#include <board_design_settings.h> #include <board_design_settings.h>
#include <class_board.h> #include <class_board.h>
#include <fctsys.h>
#include <panel_pcbnew_display_origin.h> #include <panel_pcbnew_display_origin.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcb_painter.h> #include <pcb_painter.h>
#include <pcb_view.h> #include <pcb_view.h>
#include <pcbnew.h>
#include <pcbnew_id.h> #include <pcbnew_id.h>
#include <widgets/paged_dialog.h> #include <widgets/paged_dialog.h>

View File

@ -24,8 +24,6 @@
*/ */
#include <fctsys.h>
#include <macros.h>
#include <confirm.h> #include <confirm.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>

View File

@ -22,8 +22,6 @@
*/ */
#include <fctsys.h>
#include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <board_design_settings.h> #include <board_design_settings.h>
#include <dialog_text_entry.h> #include <dialog_text_entry.h>

View File

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <base_units.h> #include <base_units.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <board_design_settings.h> #include <board_design_settings.h>

View File

@ -22,7 +22,6 @@
*/ */
#include <fctsys.h>
#include <base_units.h> #include <base_units.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <board_design_settings.h> #include <board_design_settings.h>

View File

@ -22,7 +22,6 @@
*/ */
#include <fctsys.h>
#include <class_board_item.h> #include <class_board_item.h>
#include <reporter.h> #include <reporter.h>
#include <drc/drc_rule_condition.h> #include <drc/drc_rule_condition.h>

View File

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <kiway.h> #include <kiway.h>

View File

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <confirm.h> #include <confirm.h>