more cleanup about removing useless include

This commit is contained in:
jean-pierre charras 2020-10-01 19:43:09 +02:00
parent 60046a1bcc
commit 8285110c2a
27 changed files with 3 additions and 50 deletions

View File

@ -22,9 +22,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <fctsys.h>
#include <gr_basic.h>
#include <common.h>
#include <confirm.h>
#include <bitmap_base.h>

View File

@ -23,12 +23,9 @@
#include <base_screen.h>
#include <base_struct.h>
#include <common.h>
#include <confirm.h>
#include <dialog_page_settings.h>
#include <eda_draw_frame.h>
#include <fctsys.h>
#include <gr_basic.h>
#include <kiface_i.h>
#include <math/util.h> // for KiROUND, Clamp
#include <project.h>

View File

@ -21,9 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <fctsys.h>
#include <common.h>
#include <dialog_text_entry.h>

View File

@ -23,8 +23,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <fctsys.h>
#include <macros.h>
#include <eda_draw_frame.h>
#include <kicad_string.h>
#include <dialog_helpers.h>

View File

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <fctsys.h>
#include <eda_view_switcher.h>

View File

@ -27,8 +27,6 @@
* @brief build the standard menu to show the list of available translations
*/
#include <fctsys.h>
#include <pgm_base.h>
#include <id.h>
#include <menus_helpers.h>

View File

@ -29,7 +29,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <fctsys.h>
#include <base_struct.h>
#include <ws_painter.h>
#include <ws_draw_item.h>

View File

@ -49,7 +49,6 @@
* describes the page layout (can be the default page layout or a custom file).
*/
#include <fctsys.h>
#include <gr_text.h>
#include <eda_rect.h>
#include <math/util.h> // for KiROUND

View File

@ -44,9 +44,7 @@
* for undo/redo storage (wrapped in a WS_PROXY_UNDO_ITEM).
*/
#include <fctsys.h>
#include <kiface_i.h>
#include <gr_text.h>
#include <ws_painter.h>
#include <title_block.h>
#include <ws_draw_item.h>

View File

@ -48,10 +48,8 @@
* describes the page layout (can be the default page layout or a custom file).
*/
#include <fctsys.h>
#include <eda_rect.h>
#include <eda_draw_frame.h>
#include <gr_text.h>
#include <ws_draw_item.h>
#include <ws_data_model.h>
#include <base_units.h>

View File

@ -23,10 +23,7 @@
*/
#include <fctsys.h>
#include <pgm_base.h>
#include <gr_basic.h>
#include <common.h>
#include <base_screen.h>
#include <eda_draw_frame.h>
#include <title_block.h>

View File

@ -27,12 +27,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <fctsys.h>
#include <trigo.h>
#include <eda_base_frame.h>
#include <base_struct.h>
#include <common.h>
#include <macros.h>
#include <wx/zstream.h>
#include <wx/mstream.h>
#include <math/util.h> // for KiROUND

View File

@ -22,12 +22,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <fctsys.h>
#include <base_struct.h>
#include <plotters_specific.h>
#include <ws_painter.h>
#include <base_screen.h>
#include <gr_text.h>
#include <title_block.h>
#include "ws_draw_item.h"
#include "ws_data_item.h"

View File

@ -37,12 +37,10 @@
* is not handled here.
*/
#include <fctsys.h>
#include <vector>
#include <trigo.h>
#include <base_struct.h>
#include <plotter.h>
#include <gr_text.h>
#include <geometry/shape_line_chain.h>
#include <geometry/geometry_utils.h>
#include <bezier_curves.h>

View File

@ -26,7 +26,6 @@
* @brief Some useful functions to handle strings.
*/
#include <fctsys.h>
#include <macros.h>
#include <richio.h> // StrPrintf
#include <kicad_string.h>

View File

@ -22,7 +22,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <fctsys.h>
#include <tool/actions.h>
#include <bitmaps.h>
#include <frame_type.h>

View File

@ -22,7 +22,6 @@
*/
#include <fctsys.h>
#include "wx/html/m_templ.h"
#include "wx/html/styleparams.h"
#include <erc.h>

View File

@ -26,8 +26,6 @@
#define PANEL_SETUP_BOARD_STACKUP_H
#include <fctsys.h>
#include <pcbnew.h>
#include <class_board.h>
#include <widgets/unit_binder.h>

View File

@ -36,10 +36,8 @@
#include <pcb_edit_frame.h>
#include <project.h>
#include <stdint.h>
#include <wx/wx.h>
#include <wx_html_report_panel.h>
#include <fctsys.h>
#include <frame_type.h>
#include <tool/actions.h>
#include <tool/tool_manager.h>

View File

@ -26,7 +26,6 @@
#include <bitmaps.h>
#include <confirm.h>
#include <dialog_drc.h>
#include <fctsys.h>
#include <kiface_i.h>
#include <pcb_edit_frame.h>
#include <pcbnew_settings.h>

View File

@ -28,8 +28,6 @@
#define _DIALOG_DRC_H_
#include <wx/htmllbox.h>
#include <fctsys.h>
#include <pcbnew.h>
#include <rc_item.h>
#include <class_marker_pcb.h>
#include <class_board.h>

View File

@ -32,7 +32,6 @@
// see http://www.boost.org/libs/ptr_container/doc/ptr_set.html
#include <boost/ptr_container/ptr_set.hpp>
#include <fctsys.h>
#include <specctra_import_export/specctra_lexer.h>
#include <pcbnew.h>
@ -3935,7 +3934,7 @@ public:
/**
* Function FromBOARD
* adds the entire BOARD to the PCB but does not write it out. Note that the BOARD given
* adds the entire BOARD to the PCB but does not write it out. Note that the BOARD given
* to this function must have all the MODULEs on the component side of the BOARD.
*
* See PCB_EDIT_FRAME::ExportToSpecctra() for an example before calling this function.
@ -3946,8 +3945,8 @@ public:
/**
* Function FromSESSION
* adds the entire SESSION info to a BOARD but does not write it out. The BOARD given to
* this function will have all its tracks and via's replaced, and all its components are
* adds the entire SESSION info to a BOARD but does not write it out. The BOARD given to
* this function will have all its tracks and via's replaced, and all its components are
* subject to being moved.
*
* @param aBoard The BOARD to merge the SESSION information into.

View File

@ -23,7 +23,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <fctsys.h>
#include <reporter.h>
#include <board_commit.h>
#include <cleanup_item.h>

View File

@ -27,7 +27,6 @@
#include <functional>
using namespace std::placeholders;
#include <fctsys.h>
#include <macros.h>
#include <pcb_edit_frame.h>
#include <class_board.h>

View File

@ -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 <pcb_edit_frame.h>

View File

@ -41,7 +41,6 @@
* are really modified, and ones they are modified (changes, deletion or addition)
*/
#include <fctsys.h>
#include <pgm_base.h>
#include <pcb_edit_frame.h>

View File

@ -30,7 +30,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <fctsys.h>
#include <class_board.h>
#include <class_zone.h>