rename files

This commit is contained in:
jean-pierre charras 2018-02-02 21:57:12 +01:00
parent dc66b73a2c
commit 1858852f57
32 changed files with 41 additions and 42 deletions

View File

@ -379,10 +379,10 @@ set( PCB_COMMON_SRCS
pcb_plot_params_keywords.cpp pcb_plot_params_keywords.cpp
../pcbnew/pcb_base_frame.cpp ../pcbnew/pcb_base_frame.cpp
../pcbnew/board_commit.cpp ../pcbnew/board_commit.cpp
../pcbnew/board_connected_item.cpp
../pcbnew/board_design_settings.cpp
../pcbnew/board_items_to_polygon_shape_transform.cpp ../pcbnew/board_items_to_polygon_shape_transform.cpp
../pcbnew/class_board.cpp ../pcbnew/class_board.cpp
../pcbnew/class_board_connected_item.cpp
../pcbnew/class_board_design_settings.cpp
../pcbnew/class_board_item.cpp ../pcbnew/class_board_item.cpp
../pcbnew/class_dimension.cpp ../pcbnew/class_dimension.cpp
../pcbnew/class_drawsegment.cpp ../pcbnew/class_drawsegment.cpp

View File

@ -45,7 +45,7 @@
#include <algorithm> #include <algorithm>
#include <fstream> #include <fstream>
#include <limits> #include <limits>
#include <class_board_connected_item.h> #include <board_connected_item.h>
#include <memory> #include <memory>
using namespace hed; using namespace hed;

View File

@ -2,7 +2,7 @@
* This program source code file is part of KiCad, a free EDA CAD application. * This program source code file is part of KiCad, a free EDA CAD application.
* *
* Copyright (C) 2009-2015 Jean-Pierre Charras, jp.charras at wanadoo.fr * Copyright (C) 2009-2015 Jean-Pierre Charras, jp.charras at wanadoo.fr
* Copyright (C) 1992-2015 KiCad Developers, see CHANGELOG.TXT for contributors. * Copyright (C) 1992-2015 KiCad Developers, see CHANGELOG.txt for contributors.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License

View File

@ -24,7 +24,7 @@
*/ */
/** /**
* @file class_board_connected_item.cpp * @file board_connected_item.cpp
* @brief BOARD_CONNECTED_ITEM class functions. * @brief BOARD_CONNECTED_ITEM class functions.
*/ */

View File

@ -24,7 +24,7 @@
*/ */
/** /**
* @file class_board_connected_item.h * @file board_connected_item.h
* @brief Class BOARD_CONNECTED_ITEM. * @brief Class BOARD_CONNECTED_ITEM.
*/ */

View File

@ -22,7 +22,7 @@
*/ */
/** /**
* @file class_board_design_settings.cpp * @file board_design_settings.cpp
* BOARD_DESIGN_SETTINGS class functions. * BOARD_DESIGN_SETTINGS class functions.
*/ */
@ -31,7 +31,7 @@
#include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <class_track.h> #include <class_track.h>
#include <convert_to_biu.h> #include <convert_to_biu.h>

View File

@ -39,7 +39,7 @@
#include <netinfo.h> #include <netinfo.h>
#include <class_pad.h> #include <class_pad.h>
#include <colors_design_settings.h> #include <colors_design_settings.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <title_block.h> #include <title_block.h>
#include <zone_settings.h> #include <zone_settings.h>
#include <pcb_plot_params.h> #include <pcb_plot_params.h>

View File

@ -32,7 +32,7 @@
#include <class_board_item.h> #include <class_board_item.h>
#include <class_board_connected_item.h> #include <board_connected_item.h>
#include <pad_shapes.h> #include <pad_shapes.h>
#include <PolyLine.h> #include <PolyLine.h>
#include <config_params.h> // PARAM_CFG_ARRAY #include <config_params.h> // PARAM_CFG_ARRAY

View File

@ -33,10 +33,9 @@
#include <pcbnew.h> #include <pcbnew.h>
#include <class_board_item.h> #include <class_board_item.h>
#include <class_board_connected_item.h> #include <board_connected_item.h>
#include <pcb_display_options.h> #include <pcb_display_options.h>
//#include <PolyLine.h>
#include <trigo.h> #include <trigo.h>

View File

@ -34,7 +34,7 @@
#include <vector> #include <vector>
#include <gr_basic.h> #include <gr_basic.h>
#include <class_board_item.h> #include <class_board_item.h>
#include <class_board_connected_item.h> #include <board_connected_item.h>
#include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h>
#include <PolyLine.h> #include <PolyLine.h>
#include <geometry/shape_poly_set.h> #include <geometry/shape_poly_set.h>

View File

@ -36,7 +36,7 @@
#include <confirm.h> #include <confirm.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <pcbnew_id.h> #include <pcbnew_id.h>
#include <class_track.h> #include <class_track.h>

View File

@ -35,7 +35,7 @@
#include <dialog_drc.h> #include <dialog_drc.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <base_units.h> #include <base_units.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>
#include <view/view.h> #include <view/view.h>

View File

@ -35,7 +35,7 @@
#include <confirm.h> #include <confirm.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <kicad_string.h> #include <kicad_string.h>
#include <pcbnew_id.h> #include <pcbnew_id.h>
#include <class_board.h> #include <class_board.h>

View File

@ -42,7 +42,7 @@
#include <class_drawpanel.h> #include <class_drawpanel.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <base_units.h> #include <base_units.h>
#include <wx/valnum.h> #include <wx/valnum.h>
#include <board_commit.h> #include <board_commit.h>

View File

@ -39,7 +39,7 @@
#include <class_drawpanel.h> #include <class_drawpanel.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <footprint_edit_frame.h> #include <footprint_edit_frame.h>
#include <base_units.h> #include <base_units.h>
#include <wx/valnum.h> #include <wx/valnum.h>

View File

@ -27,7 +27,7 @@
#include <fctsys.h> #include <fctsys.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <base_units.h> #include <base_units.h>
#include <class_board.h> #include <class_board.h>

View File

@ -27,7 +27,7 @@
#include <fctsys.h> #include <fctsys.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <base_units.h> #include <base_units.h>
#include <widgets/text_ctrl_eval.h> #include <widgets/text_ctrl_eval.h>

View File

@ -39,7 +39,7 @@
#include <netlist_reader.h> #include <netlist_reader.h>
#include <reporter.h> #include <reporter.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <class_board.h> #include <class_board.h>
#include <class_module.h> #include <class_module.h>
#include <connectivity_data.h> #include <connectivity_data.h>

View File

@ -28,7 +28,7 @@
#include <widgets/text_ctrl_eval.h> #include <widgets/text_ctrl_eval.h>
#include <core/optional.h> #include <core/optional.h>
#include "class_board_design_settings.h" #include "board_design_settings.h"
DIALOG_TRACK_VIA_SIZE::DIALOG_TRACK_VIA_SIZE( wxWindow* aParent, BOARD_DESIGN_SETTINGS& aSettings ) : DIALOG_TRACK_VIA_SIZE::DIALOG_TRACK_VIA_SIZE( wxWindow* aParent, BOARD_DESIGN_SETTINGS& aSettings ) :
DIALOG_TRACK_VIA_SIZE_BASE( aParent ), DIALOG_TRACK_VIA_SIZE_BASE( aParent ),

View File

@ -31,7 +31,7 @@
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <trigo.h> #include <trigo.h>
#include <base_units.h> #include <base_units.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <class_module.h> #include <class_module.h>
#include <class_track.h> #include <class_track.h>

View File

@ -35,7 +35,7 @@
#include <fctsys.h> #include <fctsys.h>
#include <common.h> #include <common.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <drc.h> #include <drc.h>
#include <class_pad.h> #include <class_pad.h>

View File

@ -34,7 +34,7 @@
#include <pcbnew.h> #include <pcbnew.h>
#include <footprint_edit_frame.h> #include <footprint_edit_frame.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h>
#include <pcbnew_id.h> #include <pcbnew_id.h>

View File

@ -32,7 +32,7 @@
#include <pcbnew_id.h> #include <pcbnew_id.h>
#include <class_drawpanel.h> #include <class_drawpanel.h>
#include <confirm.h> #include <confirm.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <origin_viewitem.h> #include <origin_viewitem.h>
#include <tools/pcbnew_control.h> #include <tools/pcbnew_control.h>

View File

@ -39,7 +39,7 @@
#include <class_board.h> #include <class_board.h>
#include <class_module.h> #include <class_module.h>
#include <class_pad.h> #include <class_pad.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
/* Exports the current pad settings to board design settings. /* Exports the current pad settings to board design settings.
*/ */

View File

@ -26,7 +26,7 @@
#include <common.h> #include <common.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h>
#include <pcb_display_options.h> #include <pcb_display_options.h>
#include <eda_text.h> #include <eda_text.h>

View File

@ -31,7 +31,7 @@
#include <common.h> #include <common.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h>
#include <class_board.h> #include <class_board.h>

View File

@ -33,7 +33,7 @@
#include <base_units.h> #include <base_units.h>
#include <pcbnew.h> #include <pcbnew.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <layers_id_colors_and_visibility.h> #include <layers_id_colors_and_visibility.h>
#include <pcbnew_id.h> #include <pcbnew_id.h>

View File

@ -39,7 +39,7 @@
#include <common.h> #include <common.h>
#include <macros.h> #include <macros.h>
#include <pcb_edit_frame.h> #include <pcb_edit_frame.h>
#include <class_board_design_settings.h> #include <board_design_settings.h>
#include <plotter.h> #include <plotter.h>
#include <worksheet.h> #include <worksheet.h>
#include <dialog_hotkeys_editor.h> #include <dialog_hotkeys_editor.h>

View File

@ -21,7 +21,7 @@
#include <undo_redo_container.h> #include <undo_redo_container.h>
#include <class_board.h> #include <class_board.h>
#include <class_board_connected_item.h> #include <board_connected_item.h>
#include <class_module.h> #include <class_module.h>
#include <class_track.h> #include <class_track.h>
#include <board_commit.h> #include <board_commit.h>

View File

@ -23,10 +23,10 @@
%include class_board_connected_item.h %include board_connected_item.h
%{ %{
#include <class_board_connected_item.h> #include <board_connected_item.h>
%} %}
%typemap(out) std::list<BOARD_CONNECTED_ITEM*> { %typemap(out) std::list<BOARD_CONNECTED_ITEM*> {
@ -34,18 +34,18 @@
std::list<BOARD_CONNECTED_ITEM*>::const_iterator iter; std::list<BOARD_CONNECTED_ITEM*>::const_iterator iter;
PyObject * retval = $result = PyList_New(0); PyObject * retval = $result = PyList_New(0);
for( iter=list.begin(); iter!=list.end(); iter++ ) { for( iter=list.begin(); iter!=list.end(); iter++ ) {
BOARD_CONNECTED_ITEM* aItem = *iter; BOARD_CONNECTED_ITEM* aItem = *iter;
PyObject* obj = 0x0; PyObject* obj = 0x0;
switch( aItem->Type() ) { switch( aItem->Type() ) {
case PCB_PAD_T: case PCB_PAD_T:
obj = SWIG_NewPointerObj( SWIG_as_voidptr(aItem), obj = SWIG_NewPointerObj( SWIG_as_voidptr(aItem),
SWIGTYPE_p_D_PAD, SWIGTYPE_p_D_PAD,
0 | 0 ); 0 | 0 );
break; break;
case PCB_TRACE_T: case PCB_TRACE_T:
case PCB_VIA_T: case PCB_VIA_T:
obj = SWIG_NewPointerObj( SWIG_as_voidptr(aItem), obj = SWIG_NewPointerObj( SWIG_as_voidptr(aItem),
@ -58,7 +58,7 @@
SWIGTYPE_p_ZONE_CONTAINER, SWIGTYPE_p_ZONE_CONTAINER,
0 | 0 ); 0 | 0 );
break; break;
default: default:
obj = SWIG_NewPointerObj( SWIG_as_voidptr(aItem), obj = SWIG_NewPointerObj( SWIG_as_voidptr(aItem),
SWIGTYPE_p_BOARD_CONNECTED_ITEM, SWIGTYPE_p_BOARD_CONNECTED_ITEM,

View File

@ -1,4 +1,4 @@
%include <class_board_design_settings.h> %include <board_design_settings.h>
%{ %{
#include <class_board_design_settings.h> #include <board_design_settings.h>
%} %}

View File

@ -24,7 +24,7 @@
#include "pcb_selection_conditions.h" #include "pcb_selection_conditions.h"
#include "selection_tool.h" #include "selection_tool.h"
#include <class_board_connected_item.h> #include <board_connected_item.h>
#include <functional> #include <functional>
using namespace std::placeholders; using namespace std::placeholders;