7
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:
jean-pierre charras 2018-01-30 09:56:43 +01:00
parent 87a437c26e
commit 795a36c9fe
54 changed files with 52 additions and 87 deletions

View File

@ -43,7 +43,7 @@
#include <wx/tokenzr.h>
#ifdef EESCHEMA
#include <class_sch_screen.h>
#include <sch_screen.h>
#include <general.h>
#endif

View File

@ -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

View File

@ -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"

View File

@ -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>

View File

@ -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 */

View File

@ -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 );

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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 )

View File

@ -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;

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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