mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 09:01:42 +00:00
Fix code after renaming files, and a bit of code cleanup (remove useless includes and multiple includes of the same files)
This commit is contained in:
parent
87a437c26e
commit
795a36c9fe
common/dialogs
eeschema
CMakeLists.txtbom_table_model.hclass_libentry.cpp
dialogs
dialog_bom_editor.hdialog_edit_component_in_schematic.cppdialog_erc.cppdialog_plot_schematic.cppdialog_plot_schematic.hdialog_print_using_printer.cppdialog_symbol_remap.cpp
erc.cpphierarch.cpphighlight_connection.cpplib_manager.hlibarch.cpplibedit.cpplibedit_onrightclick.cpplibedit_plot_component.cpplibeditframe.hlibfield.cppnetlist.cppnetlist_exporters
netlist_exporter.cppnetlist_exporter.hnetlist_exporter_cadstar.cppnetlist_exporter_orcadpcb2.cppnetlist_exporter_pspice.cpp
netlist_object.cppnetlist_object.honleftclick.cpppinedit.cppplot_schematic_DXF.cppplot_schematic_HPGL.cppplot_schematic_PDF.cppplot_schematic_PS.cppplot_schematic_SVG.cppsch_base_frame.hsch_component.cppsch_eagle_plugin.cppsch_item_struct.cppsch_junction.cppsch_legacy_plugin.cppsch_line.cppsch_no_connect.cppsch_screen.cppsch_screen.hsch_sheet.cppsch_sheet_path.cppsch_text.cppschframe.hsymbdraw.cppsymbedit.cppviewlib_frame.hviewlibs.cpp@ -43,7 +43,7 @@
|
||||
#include <wx/tokenzr.h>
|
||||
|
||||
#ifdef EESCHEMA
|
||||
#include <class_sch_screen.h>
|
||||
#include <sch_screen.h>
|
||||
#include <general.h>
|
||||
#endif
|
||||
|
||||
|
@ -103,10 +103,8 @@ set( EESCHEMA_SRCS
|
||||
bom_table_model.cpp
|
||||
bus-wire-junction.cpp
|
||||
busentry.cpp
|
||||
class_drc_erc_item.cpp
|
||||
class_libentry.cpp
|
||||
class_library.cpp
|
||||
class_netlist_object.cpp
|
||||
cmp_library_keywords.cpp
|
||||
cmp_library_lexer.cpp
|
||||
cmp_tree_model.cpp
|
||||
@ -115,6 +113,7 @@ set( EESCHEMA_SRCS
|
||||
component_references_lister.cpp
|
||||
controle.cpp
|
||||
cross-probing.cpp
|
||||
drc_erc_item.cpp
|
||||
edit_bitmap.cpp
|
||||
edit_component_in_schematic.cpp
|
||||
edit_label.cpp
|
||||
@ -155,6 +154,7 @@ set( EESCHEMA_SRCS
|
||||
menubar_libedit.cpp
|
||||
netform.cpp
|
||||
netlist.cpp
|
||||
netlist_object.cpp
|
||||
onleftclick.cpp
|
||||
onrightclick.cpp
|
||||
operations_on_items_lists.cpp
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
#include <sch_component.h>
|
||||
#include <sch_reference_list.h>
|
||||
#include <class_netlist_object.h>
|
||||
#include <netlist_object.h>
|
||||
#include <template_fieldnames.h>
|
||||
|
||||
#include "bom_table_column.h"
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <class_drawpanel.h>
|
||||
#include <plotter.h>
|
||||
#include <gr_basic.h>
|
||||
#include <class_sch_screen.h>
|
||||
#include <sch_screen.h>
|
||||
#include <richio.h>
|
||||
|
||||
#include <general.h>
|
||||
|
@ -23,12 +23,12 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file eeschema/dialogs/dialog_bom.cpp
|
||||
* @file eeschema/dialogs/dialog_bom_editor.cpp
|
||||
* @brief Dialog box for creating bom and other documents from generic netlist.
|
||||
*/
|
||||
|
||||
#ifndef EESCHEMA_DIALOGS_DIALOG_BOM_EDITOR_H_
|
||||
#define EESCHEMA_DIALOGS_DIALOG_BOM_EDITOR_H_
|
||||
#ifndef DIALOG_BOM_EDITOR_H
|
||||
#define DIALOG_BOM_EDITOR_H
|
||||
|
||||
#include <wx/dataview.h>
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
#include <sch_component.h>
|
||||
#include <invoke_sch_dialog.h>
|
||||
#include <dialog_bom_editor_base.h>
|
||||
#include <class_netlist_object.h>
|
||||
#include <netlist_object.h>
|
||||
#include <sch_reference_list.h>
|
||||
#include <vector>
|
||||
|
||||
@ -95,4 +95,4 @@ private:
|
||||
|
||||
};
|
||||
|
||||
#endif /* EESCHEMA_DIALOGS_DIALOG_BOM_EDITOR_H_ */
|
||||
#endif /* DIALOG_BOM_EDITOR_H */
|
||||
|
@ -29,15 +29,11 @@
|
||||
#include <fctsys.h>
|
||||
#include <pgm_base.h>
|
||||
#include <kiway.h>
|
||||
#include <gr_basic.h>
|
||||
#include <class_drawpanel.h>
|
||||
#include <confirm.h>
|
||||
#include <class_sch_screen.h>
|
||||
#include <schframe.h>
|
||||
#include <base_units.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <sch_base_frame.h>
|
||||
#include <sch_reference_list.h>
|
||||
#include <class_library.h>
|
||||
#include <sch_component.h>
|
||||
@ -978,6 +974,7 @@ void DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::copySelectedFieldToPanel()
|
||||
// only user defined fields may be moved, and not the top most user defined
|
||||
// field since it would be moving up into the fixed fields, > not >=
|
||||
moveUpButton->Enable( fieldNdx > MANDATORY_FIELDS );
|
||||
moveDownButton->Enable( ( fieldNdx >= MANDATORY_FIELDS ) && ( fieldNdx < ( m_FieldsBuf.size() - 1 ) ) );
|
||||
|
||||
// may only delete user defined fields
|
||||
deleteFieldButton->Enable( fieldNdx >= MANDATORY_FIELDS );
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <kicad_string.h>
|
||||
#include <gestfich.h>
|
||||
#include <pgm_base.h>
|
||||
#include <class_sch_screen.h>
|
||||
#include <sch_screen.h>
|
||||
#include <schframe.h>
|
||||
#include <invoke_sch_dialog.h>
|
||||
#include <project.h>
|
||||
@ -42,7 +42,7 @@
|
||||
#include <wildcards_and_files_ext.h>
|
||||
|
||||
#include <netlist.h>
|
||||
#include <class_netlist_object.h>
|
||||
#include <netlist_object.h>
|
||||
#include <sch_marker.h>
|
||||
#include <sch_sheet.h>
|
||||
#include <lib_pin.h>
|
||||
|
@ -4,11 +4,11 @@
|
||||
/*
|
||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 1992-2015 Jean-Pierre Charras jp.charras at wanadoo.fr
|
||||
* Copyright (C) 1992-2018 Jean-Pierre Charras jp.charras at wanadoo.fr
|
||||
* Copyright (C) 1992-2010 Lorenzo Marcantonio
|
||||
* Copyright (C) 2011 Wayne Stambaugh <stambaughw@gmail.com>
|
||||
*
|
||||
* Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
* Copyright (C) 1992-2018 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
|
||||
@ -28,12 +28,9 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <pgm_base.h>
|
||||
#include <kiface_i.h>
|
||||
#include <worksheet.h>
|
||||
#include <class_sch_screen.h>
|
||||
#include <schframe.h>
|
||||
#include <base_units.h>
|
||||
#include <sch_sheet.h>
|
||||
#include <dialog_plot_schematic.h>
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
#include <fctsys.h>
|
||||
#include <plotter.h>
|
||||
#include <class_sch_screen.h>
|
||||
#include <sch_screen.h>
|
||||
#include <schframe.h>
|
||||
#include <dialog_plot_schematic_base.h>
|
||||
#include <reporter.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <gr_basic.h>
|
||||
#include <class_drawpanel.h>
|
||||
#include <confirm.h>
|
||||
#include <class_sch_screen.h>
|
||||
#include <sch_screen.h>
|
||||
#include <schframe.h>
|
||||
#include <base_units.h>
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include <sch_io_mgr.h>
|
||||
#include <sch_sheet.h>
|
||||
#include <sch_component.h>
|
||||
#include <class_sch_screen.h>
|
||||
#include <sch_screen.h>
|
||||
#include <schframe.h>
|
||||
#include <symbol_lib_table.h>
|
||||
#include <env_paths.h>
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include <schframe.h>
|
||||
|
||||
#include <netlist.h>
|
||||
#include <class_netlist_object.h>
|
||||
#include <netlist_object.h>
|
||||
#include <lib_pin.h>
|
||||
#include <erc.h>
|
||||
#include <sch_marker.h>
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include <wx/imaglist.h>
|
||||
#include <wx/treectrl.h>
|
||||
|
||||
#include <class_netlist_object.h>
|
||||
#include <netlist_object.h>
|
||||
#include <sch_sheet_path.h>
|
||||
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include <schframe.h>
|
||||
#include <erc.h>
|
||||
|
||||
#include <class_netlist_object.h>
|
||||
#include <netlist_object.h>
|
||||
|
||||
|
||||
bool SCH_EDIT_FRAME::HighlightConnectionAtPosition( wxPoint aPosition )
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include <memory>
|
||||
#include <wx/arrstr.h>
|
||||
#include <lib_manager_adapter.h>
|
||||
#include <class_sch_screen.h>
|
||||
#include <sch_screen.h>
|
||||
|
||||
class LIB_ALIAS;
|
||||
class LIB_PART;
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include <confirm.h>
|
||||
#include <wildcards_and_files_ext.h>
|
||||
|
||||
#include <class_sch_screen.h>
|
||||
#include <schframe.h>
|
||||
#include <symbol_lib_table.h>
|
||||
#include <class_library.h>
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include <class_drawpanel.h>
|
||||
#include <confirm.h>
|
||||
#include <gestfich.h>
|
||||
#include <class_sch_screen.h>
|
||||
|
||||
#include <eeschema_id.h>
|
||||
#include <general.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include <eeschema_id.h>
|
||||
#include <hotkeys.h>
|
||||
#include <class_drawpanel.h>
|
||||
#include <class_sch_screen.h>
|
||||
#include <sch_screen.h>
|
||||
#include <msgpanel.h>
|
||||
|
||||
#include <general.h>
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include <confirm.h>
|
||||
#include <gestfich.h>
|
||||
#include <eeschema_id.h>
|
||||
#include <class_sch_screen.h>
|
||||
#include <sch_screen.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <libeditframe.h>
|
||||
|
@ -34,8 +34,7 @@
|
||||
#define LIBEDITFRM_H_
|
||||
|
||||
#include <sch_base_frame.h>
|
||||
#include <base_screen.h>
|
||||
#include <class_sch_screen.h>
|
||||
#include <sch_screen.h>
|
||||
|
||||
#include <lib_draw_item.h>
|
||||
#include <lib_collectors.h>
|
||||
|
@ -26,9 +26,7 @@
|
||||
#include <gr_basic.h>
|
||||
#include <class_drawpanel.h>
|
||||
#include <confirm.h>
|
||||
#include <class_sch_screen.h>
|
||||
|
||||
#include <general.h>
|
||||
#include <sch_component.h>
|
||||
#include <libeditframe.h>
|
||||
#include <class_library.h>
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include <kiway.h>
|
||||
|
||||
#include <netlist.h>
|
||||
#include <class_netlist_object.h>
|
||||
#include <netlist_object.h>
|
||||
#include <class_library.h>
|
||||
#include <lib_pin.h>
|
||||
#include <sch_junction.h>
|
||||
|
@ -35,12 +35,7 @@
|
||||
#include <pgm_base.h>
|
||||
|
||||
#include <sch_reference_list.h>
|
||||
#include <class_netlist_object.h>
|
||||
#include <class_library.h>
|
||||
#include <lib_pin.h>
|
||||
#include <sch_component.h>
|
||||
#include <sch_text.h>
|
||||
#include <sch_sheet.h>
|
||||
|
||||
#include <netlist.h>
|
||||
#include <netlist_exporter.h>
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <kicad_string.h>
|
||||
|
||||
#include <class_libentry.h>
|
||||
#include <class_netlist_object.h>
|
||||
#include <netlist_object.h>
|
||||
#include <lib_pin.h>
|
||||
#include <sch_component.h>
|
||||
#include <sch_text.h>
|
||||
|
@ -29,7 +29,6 @@
|
||||
|
||||
#include <schframe.h>
|
||||
#include <sch_reference_list.h>
|
||||
#include <class_netlist_object.h>
|
||||
|
||||
#include "netlist_exporter_cadstar.h"
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user