File naming and include cleanup.

This commit is contained in:
Jeff Young 2021-01-27 23:06:43 +00:00
parent 902d9e0781
commit ff7742c6b8
43 changed files with 11 additions and 66 deletions

View File

@ -162,7 +162,7 @@ set( EESCHEMA_SRCS
autoplace_fields.cpp autoplace_fields.cpp
bus_alias.cpp bus_alias.cpp
bus-wire-junction.cpp bus-wire-junction.cpp
class_libentry.cpp lib_part.cpp
class_library.cpp class_library.cpp
cmp_library_lexer.cpp cmp_library_lexer.cpp
component_references_lister.cpp component_references_lister.cpp

View File

@ -23,7 +23,6 @@
*/ */
#include <algorithm> #include <algorithm>
#include <class_libentry.h>
#include <class_library.h> #include <class_library.h>
#include <dialog_choose_symbol.h> #include <dialog_choose_symbol.h>
#include <eeschema_settings.h> #include <eeschema_settings.h>

View File

@ -30,7 +30,6 @@
#include <sch_edit_frame.h> #include <sch_edit_frame.h>
#include <ee_collectors.h> #include <ee_collectors.h>
#include <sch_component.h> #include <sch_component.h>
#include <class_libentry.h>
#include <lib_field.h> #include <lib_field.h>
#include <template_fieldnames.h> #include <template_fieldnames.h>
#include <class_library.h> #include <class_library.h>

View File

@ -30,7 +30,6 @@
#include <dialog_lib_edit_text_base.h> #include <dialog_lib_edit_text_base.h>
#include <widgets/unit_binder.h> #include <widgets/unit_binder.h>
#include <lib_field.h> #include <lib_field.h>
#include <class_libentry.h>
#include <template_fieldnames.h> #include <template_fieldnames.h>
class SCH_BASE_FRAME; class SCH_BASE_FRAME;

View File

@ -26,7 +26,6 @@
*/ */
#include <lib_item.h> #include <lib_item.h>
#include <class_libentry.h>
#include <dialog_lib_edit_draw_item.h> #include <dialog_lib_edit_draw_item.h>
#include <symbol_edit_frame.h> #include <symbol_edit_frame.h>

View File

@ -22,7 +22,6 @@
*/ */
#include <bitmaps.h> #include <bitmaps.h>
#include <class_libentry.h>
#include <confirm.h> #include <confirm.h>
#include <dialogs/dialog_text_entry.h> #include <dialogs/dialog_text_entry.h>
#include <kiway.h> #include <kiway.h>

View File

@ -25,7 +25,6 @@
#include <bitmaps.h> #include <bitmaps.h>
#include <sch_painter.h> #include <sch_painter.h>
#include <symbol_edit_frame.h> #include <symbol_edit_frame.h>
#include <class_libentry.h>
#include <lib_pin.h> #include <lib_pin.h>
#include <dialog_pin_properties.h> #include <dialog_pin_properties.h>
#include <confirm.h> #include <confirm.h>

View File

@ -22,7 +22,6 @@
*/ */
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>
#include <class_libentry.h>
#include <class_library.h> #include <class_library.h>
#include <dialog_rescue_each_base.h> #include <dialog_rescue_each_base.h>
#include <eeschema_settings.h> #include <eeschema_settings.h>

View File

@ -24,7 +24,6 @@
#include <eeschema_settings.h> #include <eeschema_settings.h>
#include <gal/gal_display_options.h> #include <gal/gal_display_options.h>
#include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h>
#include <class_libentry.h>
#include <lib_polyline.h> #include <lib_polyline.h>
#include <page_info.h> #include <page_info.h>
#include <panel_eeschema_color_settings.h> #include <panel_eeschema_color_settings.h>

View File

@ -24,7 +24,6 @@
#include <sch_edit_frame.h> #include <sch_edit_frame.h>
#include <sch_painter.h> #include <sch_painter.h>
#include <class_libentry.h>
#include <panel_eeschema_display_options.h> #include <panel_eeschema_display_options.h>
#include <widgets/gal_options_panel.h> #include <widgets/gal_options_panel.h>
#include <sch_junction.h> #include <sch_junction.h>

View File

@ -23,7 +23,6 @@
#include <sch_edit_frame.h> #include <sch_edit_frame.h>
#include <sch_painter.h> #include <sch_painter.h>
#include <class_libentry.h>
#include <eeschema_settings.h> #include <eeschema_settings.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <panel_setup_formatting.h> #include <panel_setup_formatting.h>

View File

@ -26,7 +26,7 @@
#ifndef EE_COLLECTORS_H #ifndef EE_COLLECTORS_H
#define EE_COLLECTORS_H #define EE_COLLECTORS_H
#include <class_libentry.h> #include <lib_part.h>
#include <collector.h> #include <collector.h>
#include <dialogs/dialog_schematic_find.h> #include <dialogs/dialog_schematic_find.h>
#include <sch_item.h> #include <sch_item.h>

View File

@ -21,7 +21,7 @@
#include <generate_alias_info.h> #include <generate_alias_info.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <template_fieldnames.h> #include <template_fieldnames.h>
#include <class_libentry.h> #include <lib_part.h>
#include <symbol_lib_table.h> #include <symbol_lib_table.h>

View File

@ -23,7 +23,6 @@
*/ */
#include <pgm_base.h> #include <pgm_base.h>
#include <common.h>
#include <eda_item.h> #include <eda_item.h>
#include <gr_text.h> #include <gr_text.h>
#include <kicad_string.h> #include <kicad_string.h>
@ -35,7 +34,7 @@
#include <widgets/msgpanel.h> #include <widgets/msgpanel.h>
#include <bitmaps.h> #include <bitmaps.h>
#include <general.h> #include <general.h>
#include <class_libentry.h> #include <lib_part.h>
#include <transform.h> #include <transform.h>
#include <lib_field.h> #include <lib_field.h>
#include <template_fieldnames.h> #include <template_fieldnames.h>

View File

@ -23,17 +23,14 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include <kicad_string.h>
#include <sch_draw_panel.h> #include <sch_draw_panel.h>
#include <plotter.h> #include <plotter.h>
#include <sch_screen.h> #include <sch_screen.h>
#include <richio.h> #include <richio.h>
#include <trace_helpers.h>
#include <general.h> #include <general.h>
#include <template_fieldnames.h> #include <template_fieldnames.h>
#include <transform.h> #include <transform.h>
#include <class_library.h> #include <class_library.h>
#include <class_libentry.h>
#include <lib_pin.h> #include <lib_pin.h>
#include <lib_arc.h> #include <lib_arc.h>
#include <settings/color_settings.h> #include <settings/color_settings.h>

View File

@ -26,11 +26,7 @@
#include <pgm_base.h> #include <pgm_base.h>
#include <sch_draw_panel.h> #include <sch_draw_panel.h>
#include <sch_edit_frame.h> #include <sch_edit_frame.h>
#include <base_units.h>
#include <widgets/msgpanel.h>
#include <general.h>
#include <symbol_edit_frame.h> #include <symbol_edit_frame.h>
#include <class_libentry.h>
#include <lib_pin.h> #include <lib_pin.h>
#include <settings/settings_manager.h> #include <settings/settings_manager.h>
#include <symbol_editor/symbol_editor_settings.h> #include <symbol_editor/symbol_editor_settings.h>

View File

@ -32,7 +32,7 @@ class SCH_COMPONENT;
#include <eda_rect.h> #include <eda_rect.h>
#include <lib_item.h> #include <lib_item.h>
#include <pin_type.h> #include <pin_type.h>
#include <class_libentry.h> #include <lib_part.h>
// Circle diameter drawn at the active end of pins: // Circle diameter drawn at the active end of pins:
#define TARGET_PIN_RADIUS Mils2iu( 15 ) #define TARGET_PIN_RADIUS Mils2iu( 15 )

View File

@ -26,7 +26,6 @@
#ifndef NETLIST_EXPORTER_H #ifndef NETLIST_EXPORTER_H
#define NETLIST_EXPORTER_H #define NETLIST_EXPORTER_H
#include <class_libentry.h>
#include <lib_pin.h> #include <lib_pin.h>
#include <sch_component.h> #include <sch_component.h>
#include <sch_text.h> #include <sch_text.h>

View File

@ -42,7 +42,7 @@
#include <boost/ptr_container/ptr_vector.hpp> #include <boost/ptr_container/ptr_vector.hpp>
#include <properties.h> #include <properties.h>
#include <class_libentry.h> #include <lib_part.h>
#include <sch_plugins/legacy/sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>

View File

@ -28,7 +28,6 @@
#include <sch_item.h> #include <sch_item.h>
#include <bezier_curves.h> #include <bezier_curves.h>
#include <class_libentry.h>
#include <class_library.h> #include <class_library.h>
#include <connection_graph.h> #include <connection_graph.h>
#include <gal/graphics_abstraction_layer.h> #include <gal/graphics_abstraction_layer.h>

View File

@ -24,7 +24,6 @@
#include <sch_plugins/eagle/sch_eagle_plugin.h> #include <sch_plugins/eagle/sch_eagle_plugin.h>
#include <kiway.h>
#include <locale_io.h> #include <locale_io.h>
#include <properties.h> #include <properties.h>
@ -33,10 +32,8 @@
#include <wx/filename.h> #include <wx/filename.h>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>
#include <class_libentry.h>
#include <class_library.h> #include <class_library.h>
#include <plugins/eagle/eagle_parser.h> #include <plugins/eagle/eagle_parser.h>
#include <gr_text.h>
#include <lib_arc.h> #include <lib_arc.h>
#include <lib_circle.h> #include <lib_circle.h>
#include <lib_id.h> #include <lib_id.h>
@ -45,7 +42,6 @@
#include <lib_polyline.h> #include <lib_polyline.h>
#include <lib_rectangle.h> #include <lib_rectangle.h>
#include <lib_text.h> #include <lib_text.h>
#include <macros.h>
#include <project.h> #include <project.h>
#include <sch_bus_entry.h> #include <sch_bus_entry.h>
#include <sch_component.h> #include <sch_component.h>
@ -60,7 +56,6 @@
#include <sch_text.h> #include <sch_text.h>
#include <schematic.h> #include <schematic.h>
#include <symbol_lib_table.h> #include <symbol_lib_table.h>
#include <template_fieldnames.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>
#include <page_layout/ws_draw_item.h> #include <page_layout/ws_draw_item.h>

View File

@ -31,10 +31,7 @@
#include <wx/mstream.h> #include <wx/mstream.h>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>
#include <common.h>
#include <lib_id.h> #include <lib_id.h>
#include <class_libentry.h>
#include <lib_arc.h> #include <lib_arc.h>
#include <lib_bezier.h> #include <lib_bezier.h>
#include <lib_circle.h> #include <lib_circle.h>

View File

@ -42,7 +42,6 @@
#include <schematic.h> #include <schematic.h>
#include <sch_plugins/kicad/sch_sexpr_plugin.h> #include <sch_plugins/kicad/sch_sexpr_plugin.h>
#include <sch_screen.h> #include <sch_screen.h>
#include <class_libentry.h>
#include <class_library.h> #include <class_library.h>
#include <lib_arc.h> #include <lib_arc.h>
#include <lib_bezier.h> #include <lib_bezier.h>

View File

@ -55,7 +55,6 @@
#include <template_fieldnames.h> #include <template_fieldnames.h>
#include <sch_screen.h> #include <sch_screen.h>
#include <schematic.h> #include <schematic.h>
#include <class_libentry.h>
#include <class_library.h> #include <class_library.h>
#include <lib_arc.h> #include <lib_arc.h>
#include <lib_bezier.h> #include <lib_bezier.h>

View File

@ -26,17 +26,14 @@
#ifndef _SCH_REFERENCE_LIST_H_ #ifndef _SCH_REFERENCE_LIST_H_
#define _SCH_REFERENCE_LIST_H_ #define _SCH_REFERENCE_LIST_H_
#include <map>
#include <macros.h> #include <lib_part.h>
#include <class_libentry.h>
#include <sch_sheet_path.h> #include <sch_sheet_path.h>
#include <sch_component.h> #include <sch_component.h>
#include <sch_text.h> #include <sch_text.h>
#include <erc_settings.h> #include <erc_settings.h>
#include <map>
/** /**
* A helper to define a symbol's reference designator in a schematic. * A helper to define a symbol's reference designator in a schematic.
* *

View File

@ -30,7 +30,6 @@
*/ */
#include <eda_rect.h> #include <eda_rect.h>
//#include <gr_text.h>
#include <id.h> #include <id.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <kiway.h> #include <kiway.h>
@ -43,7 +42,6 @@
#include <sch_item.h> #include <sch_item.h>
#include <class_library.h> #include <class_library.h>
#include <class_libentry.h>
#include <connection_graph.h> #include <connection_graph.h>
#include <lib_pin.h> #include <lib_pin.h>
#include <sch_component.h> #include <sch_component.h>

View File

@ -19,7 +19,7 @@
*/ */
#include <base_screen.h> #include <base_screen.h>
#include <class_libentry.h> #include <lib_part.h>
#include <convert_to_biu.h> #include <convert_to_biu.h>
#include <default_values.h> #include <default_values.h>
#include <eda_text.h> #include <eda_text.h>

View File

@ -30,7 +30,6 @@
#include <tools/ee_actions.h> #include <tools/ee_actions.h>
#include <tools/symbol_editor_drawing_tools.h> #include <tools/symbol_editor_drawing_tools.h>
#include <symbol_edit_frame.h> #include <symbol_edit_frame.h>
#include <class_libentry.h>
#include <class_library.h> #include <class_library.h>
#include <template_fieldnames.h> #include <template_fieldnames.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>

View File

@ -26,7 +26,6 @@
#include <confirm.h> #include <confirm.h>
#include <symbol_lib_table.h> #include <symbol_lib_table.h>
#include <symbol_edit_frame.h> #include <symbol_edit_frame.h>
#include <class_libentry.h>
#include <class_library.h> #include <class_library.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>
#include <symbol_library_manager.h> #include <symbol_library_manager.h>

View File

@ -25,8 +25,6 @@
#include <sch_painter.h> #include <sch_painter.h>
#include <symbol_edit_frame.h> #include <symbol_edit_frame.h>
#include <locale_io.h> #include <locale_io.h>
#include <class_libentry.h>
#include <class_library.h>
#include <plotters_specific.h> #include <plotters_specific.h>
void SYMBOL_EDIT_FRAME::SVGPlotSymbol( const wxString& aFullFileName ) void SYMBOL_EDIT_FRAME::SVGPlotSymbol( const wxString& aFullFileName )

View File

@ -23,7 +23,6 @@
*/ */
#include <symbol_edit_frame.h> #include <symbol_edit_frame.h>
#include <class_libentry.h>
#include <symbol_library_manager.h> #include <symbol_library_manager.h>
#include <widgets/lib_tree.h> #include <widgets/lib_tree.h>
#include <symbol_tree_pane.h> #include <symbol_tree_pane.h>

View File

@ -24,7 +24,6 @@
*/ */
#include <symbol_library_manager.h> #include <symbol_library_manager.h>
#include <class_libentry.h>
#include <class_library.h> #include <class_library.h>
#include <symbol_edit_frame.h> #include <symbol_edit_frame.h>
#include <env_paths.h> #include <env_paths.h>

View File

@ -30,7 +30,7 @@
#include <settings/settings_manager.h> #include <settings/settings_manager.h>
#include <systemdirsappend.h> #include <systemdirsappend.h>
#include <symbol_lib_table.h> #include <symbol_lib_table.h>
#include <class_libentry.h> #include <lib_part.h>
#define OPT_SEP '|' ///< options separator character #define OPT_SEP '|' ///< options separator character

View File

@ -28,7 +28,6 @@
#include <lib_table_base.h> #include <lib_table_base.h>
#include <sch_io_mgr.h> #include <sch_io_mgr.h>
#include <lib_id.h> #include <lib_id.h>
#include <class_libentry.h>
//class LIB_PART; //class LIB_PART;
class SYMBOL_LIB_TABLE_GRID; class SYMBOL_LIB_TABLE_GRID;

View File

@ -25,9 +25,8 @@
#include <eda_pattern_match.h> #include <eda_pattern_match.h>
#include <symbol_lib_table.h> #include <symbol_lib_table.h>
#include <class_libentry.h> #include <lib_part.h>
#include <generate_alias_info.h> #include <generate_alias_info.h>
#include <symbol_tree_model_adapter.h> #include <symbol_tree_model_adapter.h>

View File

@ -26,7 +26,6 @@
#include <symbol_tree_synchronizing_adapter.h> #include <symbol_tree_synchronizing_adapter.h>
#include <symbol_library_manager.h> #include <symbol_library_manager.h>
#include <symbol_lib_table.h> #include <symbol_lib_table.h>
#include <class_libentry.h>
#include <tools/symbol_editor_control.h> #include <tools/symbol_editor_control.h>

View File

@ -24,7 +24,6 @@
*/ */
#include <bitmaps.h> #include <bitmaps.h>
#include <class_libentry.h>
#include <class_library.h> #include <class_library.h>
#include <confirm.h> #include <confirm.h>
#include <dialog_helpers.h> #include <dialog_helpers.h>

View File

@ -23,7 +23,6 @@
*/ */
#include <class_libentry.h>
#include <core/typeinfo.h> #include <core/typeinfo.h>
#include <ee_actions.h> #include <ee_actions.h>
#include <ee_collectors.h> #include <ee_collectors.h>

View File

@ -24,11 +24,8 @@
#include <ee_actions.h> #include <ee_actions.h>
#include <symbol_edit_frame.h> #include <symbol_edit_frame.h>
#include <view/view_controls.h>
#include <tool/tool_manager.h>
#include <tools/symbol_editor_drawing_tools.h> #include <tools/symbol_editor_drawing_tools.h>
#include <tools/symbol_editor_pin_tool.h> #include <tools/symbol_editor_pin_tool.h>
#include <class_libentry.h>
#include <bitmaps.h> #include <bitmaps.h>
#include <lib_text.h> #include <lib_text.h>
#include <dialogs/dialog_lib_edit_text.h> #include <dialogs/dialog_lib_edit_text.h>

View File

@ -18,12 +18,8 @@
*/ */
#include "symbol_preview_widget.h" #include "symbol_preview_widget.h"
#include <wx/stattext.h>
#include <wx/sizer.h>
#include <kiway.h>
#include <sch_view.h> #include <sch_view.h>
#include <gal/gal_display_options.h> #include <gal/gal_display_options.h>
#include <class_libentry.h>
#include <symbol_lib_table.h> #include <symbol_lib_table.h>
#include <sch_preview_panel.h> #include <sch_preview_panel.h>
#include <pgm_base.h> #include <pgm_base.h>

View File

@ -31,7 +31,6 @@
#include <unit_test_utils/unit_test_utils.h> #include <unit_test_utils/unit_test_utils.h>
#include <class_libentry.h>
#include <template_fieldnames.h> #include <template_fieldnames.h>

View File

@ -29,7 +29,6 @@
#include <unit_test_utils/unit_test_utils.h> #include <unit_test_utils/unit_test_utils.h>
// Code under test // Code under test
#include <class_libentry.h>
#include <lib_rectangle.h> #include <lib_rectangle.h>
#include <lib_arc.h> #include <lib_arc.h>
#include <lib_pin.h> #include <lib_pin.h>