more cleanup about removing useless include

This commit is contained in:
jean-pierre charras 2020-10-03 14:01:59 +02:00
parent bea5914726
commit 0b23cb7dbb
36 changed files with 4 additions and 63 deletions

View File

@ -41,11 +41,11 @@ SCHEMATIC_SETTINGS::SCHEMATIC_SETTINGS( JSON_SETTINGS* aParent, const std::strin
m_TextOffsetRatio( 0.08 ), m_TextOffsetRatio( 0.08 ),
m_PinSymbolSize( DEFAULT_TEXT_SIZE * IU_PER_MILS / 2 ), m_PinSymbolSize( DEFAULT_TEXT_SIZE * IU_PER_MILS / 2 ),
m_JunctionSize( DEFAULT_JUNCTION_DIAM * IU_PER_MILS ), m_JunctionSize( DEFAULT_JUNCTION_DIAM * IU_PER_MILS ),
m_SpiceAdjustPassiveValues( false ),
m_IntersheetsRefShow ( false ), m_IntersheetsRefShow ( false ),
m_IntersheetsRefFormatShort (false ), m_IntersheetsRefFormatShort (false ),
m_IntersheetsRefPrefix ( DEFAULT_IREF_PREFIX ), m_IntersheetsRefPrefix ( DEFAULT_IREF_PREFIX ),
m_IntersheetsRefSuffix ( DEFAULT_IREF_SUFFIX ) m_IntersheetsRefSuffix ( DEFAULT_IREF_SUFFIX ),
m_SpiceAdjustPassiveValues( false )
{ {
EESCHEMA_SETTINGS* appSettings = dynamic_cast<EESCHEMA_SETTINGS*>( Kiface().KifaceSettings() ); EESCHEMA_SETTINGS* appSettings = dynamic_cast<EESCHEMA_SETTINGS*>( Kiface().KifaceSettings() );

View File

@ -24,9 +24,7 @@
* 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 <common.h>
#include <confirm.h> #include <confirm.h>
#include <dialogs/dialog_print_generic.h> #include <dialogs/dialog_print_generic.h>
#include <gerbview_printout.h> #include <gerbview_printout.h>

View File

@ -27,7 +27,6 @@
* @brief Set up a dialog to choose a PCB Layer. * @brief Set up a dialog to choose a PCB Layer.
*/ */
#include <fctsys.h>
#include <gerbview_frame.h> #include <gerbview_frame.h>
#include <select_layers_to_pcb.h> #include <select_layers_to_pcb.h>

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 <common.h>
#include <gerbview.h> #include <gerbview.h>
#include <gerbview_frame.h> #include <gerbview_frame.h>
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>

View File

@ -22,8 +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 <common.h>
#include <pl_editor_frame.h> #include <pl_editor_frame.h>
#include <ws_data_item.h> #include <ws_data_item.h>
#include <dialog_new_dataitem_base.h> #include <dialog_new_dataitem_base.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 <base_units.h> #include <base_units.h>
#include <pl_editor_frame.h> #include <pl_editor_frame.h>
#include <pl_editor_id.h> #include <pl_editor_id.h>

View File

@ -17,7 +17,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 <pl_editor_settings.h> #include <pl_editor_settings.h>
#include <pl_editor_frame.h> #include <pl_editor_frame.h>
#include <pgm_base.h> #include <pgm_base.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 <kiway.h> #include <kiway.h>
#include <view/view.h> #include <view/view.h>
#include <tool/tool_manager.h> #include <tool/tool_manager.h>

View File

@ -25,11 +25,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 <confirm.h> #include <confirm.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <gr_basic.h>
#include <msgpanel.h> #include <msgpanel.h>
#include <class_board.h> #include <class_board.h>
#include <class_module.h> #include <class_module.h>

View File

@ -35,7 +35,6 @@
*/ */
#include <algorithm> #include <algorithm>
#include <fctsys.h>
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <confirm.h> #include <confirm.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.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 <reporter.h> #include <reporter.h>
#include <widgets/progress_reporter.h> #include <widgets/progress_reporter.h>
#include <drc/drc_engine.h> #include <drc/drc_engine.h>

View File

@ -23,8 +23,6 @@
*/ */
#include <fctsys.h>
#include <common.h>
#include "wx/html/m_templ.h" #include "wx/html/m_templ.h"
#include "wx/html/styleparams.h" #include "wx/html/styleparams.h"
#include <drc/drc_item.h> #include <drc/drc_item.h>

View File

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

View File

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

View File

@ -27,7 +27,6 @@
* @brief Export IPC-D-356 test format * @brief Export IPC-D-356 test format
*/ */
#include <fctsys.h>
#include <confirm.h> #include <confirm.h>
#include <gestfich.h> #include <gestfich.h>
#include <kiface_i.h> #include <kiface_i.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 <confirm.h> #include <confirm.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>

View File

@ -26,10 +26,8 @@
* 2 - create a module report (pos and module descr) (ascii file) * 2 - create a module report (pos and module descr) (ascii file)
*/ */
#include <fctsys.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <build_version.h> #include <build_version.h>
#include <macros.h>
#include <export_footprints_placefile.h> #include <export_footprints_placefile.h>

View File

@ -36,7 +36,6 @@
#include <class_track.h> #include <class_track.h>
#include <confirm.h> #include <confirm.h>
#include <dialogs/dialog_gencad_export_options.h> #include <dialogs/dialog_gencad_export_options.h>
#include <fctsys.h>
#include <hash_eda.h> #include <hash_eda.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>

View File

@ -28,7 +28,6 @@
#include <list> #include <list>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <macros.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <class_board.h> #include <class_board.h>
#include <class_module.h> #include <class_module.h>

View File

@ -24,7 +24,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
//#include <cmath>
#include <exception> #include <exception>
#include <fstream> #include <fstream>
#include <iomanip> #include <iomanip>
@ -41,7 +40,6 @@
#include "class_zone.h" #include "class_zone.h"
#include "convert_to_biu.h" #include "convert_to_biu.h"
#include <filename_resolver.h> #include <filename_resolver.h>
#include "gr_text.h"
#include "plugins/3dapi/ifsg_all.h" #include "plugins/3dapi/ifsg_all.h"
#include "streamwrapper.h" #include "streamwrapper.h"
#include "vrml_layer.h" #include "vrml_layer.h"

View File

@ -27,14 +27,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <common.h>
#include <plotter.h> #include <plotter.h>
#include <base_struct.h> #include <base_struct.h>
#include <gr_text.h> #include <gr_text.h>
#include <confirm.h> #include <confirm.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <macros.h>
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND
#include <class_board.h> #include <class_board.h>

View File

@ -26,7 +26,6 @@
* 2 - create a module report (pos and module descr) (ascii file) * 2 - create a module report (pos and module descr) (ascii file)
*/ */
#include <fctsys.h>
#include <confirm.h> #include <confirm.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <gestfich.h> #include <gestfich.h>
@ -34,7 +33,6 @@
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <pgm_base.h> #include <pgm_base.h>
#include <bitmaps.h> #include <bitmaps.h>
#include <macros.h>
#include <reporter.h> #include <reporter.h>
#include <tools/pcb_editor_control.h> #include <tools/pcb_editor_control.h>
#include <class_board.h> #include <class_board.h>

View File

@ -35,8 +35,6 @@
* and the CNC-7 manual. * and the CNC-7 manual.
*/ */
#include <fctsys.h>
#include <plotter.h> #include <plotter.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
@ -45,7 +43,6 @@
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND
#include <pcbplot.h> #include <pcbplot.h>
#include <pcbnew.h>
#include <class_board.h> #include <class_board.h>
#include <gendrill_Excellon_writer.h> #include <gendrill_Excellon_writer.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>

View File

@ -22,7 +22,6 @@
* or you may write to the Free Software Foundation, Inc., * or you may write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <fctsys.h>
#include <class_board.h> #include <class_board.h>
#include <class_module.h> #include <class_module.h>

View File

@ -27,8 +27,6 @@
* @brief Functions to create drill files in gerber X2 format. * @brief Functions to create drill files in gerber X2 format.
*/ */
#include <fctsys.h>
#include <vector> #include <vector>
#include <plotter.h> #include <plotter.h>
@ -41,7 +39,6 @@
#include <class_track.h> #include <class_track.h>
#include <pcbplot.h> #include <pcbplot.h>
#include <pcbnew.h>
#include <gendrill_gerber_writer.h> #include <gendrill_gerber_writer.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>
#include <reporter.h> #include <reporter.h>

View File

@ -27,8 +27,6 @@
* @brief Functions to create the Gerber job file in JSON format. * @brief Functions to create the Gerber job file in JSON format.
*/ */
#include <fctsys.h>
#include <fstream> #include <fstream>
#include <iomanip> #include <iomanip>
#include <vector> #include <vector>
@ -45,7 +43,6 @@
#include <board_stackup_manager/stackup_predefined_prms.h> #include <board_stackup_manager/stackup_predefined_prms.h>
#include <gbr_metadata.h> #include <gbr_metadata.h>
#include <gerber_jobfile_writer.h> #include <gerber_jobfile_writer.h>
#include <pcbnew.h>
#include <pcbplot.h> #include <pcbplot.h>
#include <reporter.h> #include <reporter.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>

View File

@ -23,7 +23,6 @@
* @brief Functions to create place files in gerber X2 format. * @brief Functions to create place files in gerber X2 format.
*/ */
#include <fctsys.h>
#include "gerber_placefile_writer.h" #include "gerber_placefile_writer.h"
#include <vector> #include <vector>
@ -36,7 +35,6 @@
#include <class_board.h> #include <class_board.h>
#include <pcbplot.h> #include <pcbplot.h>
#include <pcbnew.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>
#include <reporter.h> #include <reporter.h>
#include <gbr_metadata.h> #include <gbr_metadata.h>

View File

@ -27,6 +27,7 @@
#define PLACEFILE_GERBER_WRITER_H #define PLACEFILE_GERBER_WRITER_H
#include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h>
#include <wx/gdicmn.h>
class BOARD; class BOARD;
class MODULE; class MODULE;

View File

@ -79,15 +79,12 @@ Vary: Accept-Encoding
#include <wx/mstream.h> #include <wx/mstream.h>
#include <wx/uri.h> #include <wx/uri.h>
#include <fctsys.h>
#include <io_mgr.h> #include <io_mgr.h>
#include <richio.h> #include <richio.h>
#include <pcb_parser.h> #include <pcb_parser.h>
#include <class_board.h> #include <class_board.h>
#include <github_plugin.h> #include <github_plugin.h>
#include <class_module.h> #include <class_module.h>
#include <macros.h>
#include <fp_lib_table.h> // ExpandSubstitutions() #include <fp_lib_table.h> // ExpandSubstitutions()

View File

@ -24,7 +24,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 <trigo.h> #include <trigo.h>
#include <kicad_string.h> #include <kicad_string.h>

View File

@ -27,7 +27,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 <richio.h> #include <richio.h>
#include <kicad_string.h> #include <kicad_string.h>

View File

@ -30,7 +30,6 @@
#include <functional> #include <functional>
using namespace std::placeholders; using namespace std::placeholders;
#include <fctsys.h>
#include <kiway.h> #include <kiway.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <netlist_reader/pcb_netlist.h> #include <netlist_reader/pcb_netlist.h>
@ -47,7 +46,7 @@ using namespace std::placeholders;
#include <tools/pcb_actions.h> #include <tools/pcb_actions.h>
#include <tools/selection_tool.h> #include <tools/selection_tool.h>
#include <project/project_file.h> // LAST_PATH_TYPE #include <project/project_file.h> // LAST_PATH_TYPE
//#include <view/view.h>
extern void SpreadFootprints( std::vector<MODULE*>* aFootprints, wxPoint aSpreadAreaPosition ); extern void SpreadFootprints( std::vector<MODULE*>* aFootprints, wxPoint aSpreadAreaPosition );

View File

@ -37,10 +37,6 @@
#include <s_expr_loader.h> #include <s_expr_loader.h>
#include <pcb.h> #include <pcb.h>
#include <common.h>
#include <macros.h>
#include <fctsys.h>
using namespace PCAD2KICAD; using namespace PCAD2KICAD;
PCAD_PLUGIN::PCAD_PLUGIN() PCAD_PLUGIN::PCAD_PLUGIN()

View File

@ -22,9 +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 <gr_basic.h>
#include <common.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <macros.h> #include <macros.h>
#include <class_board.h> #include <class_board.h>

View File

@ -32,11 +32,8 @@
#include <python_scripting.h> #include <python_scripting.h>
#include <sstream> #include <sstream>
#include <fctsys.h>
#include <eda_base_frame.h> #include <eda_base_frame.h>
#include <common.h>
#include <gal/color4d.h> #include <gal/color4d.h>
#include <macros.h>
#include <trace_helpers.h> #include <trace_helpers.h>
#include <pgm_base.h> #include <pgm_base.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 <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <bitmaps.h> #include <bitmaps.h>
#include <tool/tool_manager.h> #include <tool/tool_manager.h>