more cleanup about removing useless include
This commit is contained in:
parent
0deeed0ddc
commit
13304d0870
|
@ -3,7 +3,7 @@
|
|||
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 2007-2013 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
|
||||
* Copyright (C) 2007-2020 KiCad Developers, see change_log.txt for contributors.
|
||||
* Copyright (C) 2007-2020 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -29,13 +29,8 @@
|
|||
#include <cstdlib> // bsearch()
|
||||
#include <cctype>
|
||||
|
||||
#include <macros.h>
|
||||
#include <fctsys.h>
|
||||
#include <dsnlexer.h>
|
||||
|
||||
|
||||
//#define STANDALONE 1 // enable this for stand alone testing.
|
||||
|
||||
#define FMT_CLIPBOARD _( "clipboard" )
|
||||
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
* @brief erase a given or all draw layers, an free memory relative to the cleared layer(s)
|
||||
*/
|
||||
|
||||
//#include <fctsys.h>
|
||||
#include <confirm.h>
|
||||
#include <gerbview_frame.h>
|
||||
#include <gerber_file_image.h>
|
||||
|
|
|
@ -62,9 +62,6 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <common.h>
|
||||
#include <confirm.h>
|
||||
#include <math/util.h> // for KiROUND
|
||||
|
||||
#include <gerbview.h>
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
*/
|
||||
|
||||
#include <X2_gerber_attributes.h>
|
||||
#include <fctsys.h>
|
||||
#include <gerber_file_image.h>
|
||||
#include <gerber_file_image_list.h>
|
||||
#include <gerbview.h>
|
||||
|
|
|
@ -17,22 +17,15 @@
|
|||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include <fctsys.h>
|
||||
|
||||
#include <pgm_base.h>
|
||||
#include <kiface_i.h>
|
||||
#include <confirm.h>
|
||||
#include <gestfich.h>
|
||||
#include <settings/settings_manager.h>
|
||||
|
||||
#include <wx/wx.h>
|
||||
|
||||
#include <pcb_calculator_frame_base.h>
|
||||
#include <pcb_calculator_settings.h>
|
||||
#include <pcb_calculator.h>
|
||||
|
||||
#include <bitmaps.h>
|
||||
#include <build_version.h>
|
||||
|
||||
// Pcb_calculator data file extension:
|
||||
const wxString PcbCalcDataFileExt( wxT("pcbcalc") );
|
||||
|
||||
|
|
|
@ -54,16 +54,13 @@ Load() TODO's
|
|||
|
||||
#include <wx/string.h>
|
||||
#include <wx/xml/xml.h>
|
||||
#include <wx/filename.h>
|
||||
|
||||
#include <common.h>
|
||||
#include <convert_basic_shapes_to_polygon.h>
|
||||
#include <fctsys.h>
|
||||
#include <geometry/geometry_utils.h>
|
||||
#include <kicad_string.h>
|
||||
#include <macros.h>
|
||||
#include <properties.h>
|
||||
#include <trigo.h>
|
||||
#include <wx/filename.h>
|
||||
#include <math/util.h> // for KiROUND
|
||||
|
||||
#include <class_board.h>
|
||||
|
@ -2505,7 +2502,7 @@ PCB_LAYER_ID EAGLE_PLUGIN::kicad_layer( int aEagleLayer ) const
|
|||
|
||||
case EAGLE_LAYER::TKEEPOUT: kiLayer = F_CrtYd; break;
|
||||
case EAGLE_LAYER::BKEEPOUT: kiLayer = B_CrtYd; break;
|
||||
|
||||
|
||||
case EAGLE_LAYER::MILLING:
|
||||
case EAGLE_LAYER::TTEST:
|
||||
case EAGLE_LAYER::BTEST:
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <pgm_base.h>
|
||||
#include <kiface_i.h>
|
||||
#include <confirm.h>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <pcbnew_id.h>
|
||||
#include <board_design_settings.h>
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <confirm.h>
|
||||
#include <kicad_string.h>
|
||||
#include <gestfich.h>
|
||||
|
|
|
@ -27,10 +27,6 @@
|
|||
* @brief Geda PCB file plugin implementation file.
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <common.h>
|
||||
#include <macros.h>
|
||||
#include <trigo.h>
|
||||
#include <wildcards_and_files_ext.h>
|
||||
#include <filter_reader.h>
|
||||
#include <trace_helpers.h>
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
* @file pcbnew/initpcb.cpp
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <confirm.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <project.h>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <build_version.h> // LEGACY_BOARD_FILE_VERSION
|
||||
#include <wildcards_and_files_ext.h>
|
||||
#include <advanced_config.h>
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <pcb_base_frame.h>
|
||||
#include <kicad_string.h>
|
||||
#include <msgpanel.h>
|
||||
|
|
|
@ -21,11 +21,6 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
//#include <gr_basic.h>
|
||||
//#include <common.h>
|
||||
//#include <macros.h>
|
||||
//#include <pcbnew.h>
|
||||
#include <class_board.h>
|
||||
#include <class_module.h>
|
||||
#include <class_pad.h>
|
||||
|
|
|
@ -27,9 +27,6 @@
|
|||
* D_PAD functions specific to custom shaped pads.
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <trigo.h>
|
||||
#include <pcbnew.h>
|
||||
#include <class_board.h>
|
||||
#include <class_board_item.h>
|
||||
#include <class_drawsegment.h>
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <kiface_i.h>
|
||||
#include <confirm.h>
|
||||
#include <dialog_helpers.h>
|
||||
|
@ -33,7 +32,6 @@
|
|||
#include <msgpanel.h>
|
||||
#include <pgm_base.h>
|
||||
#include <3d_viewer/eda_3d_viewer.h> // To include VIEWER3D_FRAMENAME
|
||||
#include <pcbnew.h>
|
||||
#include <footprint_editor_settings.h>
|
||||
#include <fp_lib_table.h>
|
||||
#include <pcbnew_id.h>
|
||||
|
@ -43,7 +41,7 @@
|
|||
#include <collectors.h>
|
||||
#include <pcb_draw_panel_gal.h>
|
||||
#include <math/vector2d.h>
|
||||
#include <trigo.h>
|
||||
|
||||
#include <pcb_painter.h>
|
||||
#include <settings/settings_manager.h>
|
||||
#include <pcbnew_settings.h>
|
||||
|
|
|
@ -32,12 +32,10 @@
|
|||
#include <python_scripting.h>
|
||||
#include <pcbnew_scripting_helpers.h>
|
||||
#endif
|
||||
#include <fctsys.h>
|
||||
#include <pgm_base.h>
|
||||
#include <kiface_i.h>
|
||||
#include <kiface_ids.h>
|
||||
#include <confirm.h>
|
||||
#include <macros.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <eda_dde.h>
|
||||
#include <wx/file.h>
|
||||
|
|
|
@ -27,20 +27,16 @@
|
|||
* @file pcbnew/pcbplot.cpp
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <plotter.h>
|
||||
#include <confirm.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <pcbplot.h>
|
||||
#include <base_units.h>
|
||||
#include <reporter.h>
|
||||
#include <class_board.h>
|
||||
#include <pcbnew.h>
|
||||
#include <plotcontroller.h>
|
||||
#include <pcb_plot_params.h>
|
||||
#include <wx/ffile.h>
|
||||
#include <dialog_plot.h>
|
||||
#include <macros.h>
|
||||
#include <build_version.h>
|
||||
#include <gbr_metadata.h>
|
||||
|
||||
|
|
|
@ -29,14 +29,10 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <base_struct.h>
|
||||
#include <gr_text.h>
|
||||
#include <geometry/geometry_utils.h>
|
||||
#include <geometry/shape_segment.h>
|
||||
#include <trigo.h>
|
||||
#include <pcb_base_frame.h>
|
||||
#include <macros.h>
|
||||
#include <math/util.h> // for KiROUND
|
||||
|
||||
#include <class_board.h>
|
||||
|
@ -49,7 +45,6 @@
|
|||
#include <class_pcb_target.h>
|
||||
#include <class_dimension.h>
|
||||
|
||||
#include <pcbnew.h>
|
||||
#include <pcbplot.h>
|
||||
#include <pcb_painter.h>
|
||||
#include <gbr_metadata.h>
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <common.h>
|
||||
#include <confirm.h>
|
||||
#include <pcb_base_frame.h>
|
||||
#include <widgets/layer_box_selector.h>
|
||||
|
|
|
@ -29,8 +29,6 @@
|
|||
|
||||
#include <zone_settings.h>
|
||||
|
||||
#include <fctsys.h>
|
||||
|
||||
#include <convert_to_biu.h>
|
||||
#include <pcbnew.h>
|
||||
#include <pcb_base_frame.h>
|
||||
|
|
Loading…
Reference in New Issue