rename files
This commit is contained in:
parent
dc66b73a2c
commit
1858852f57
|
@ -379,10 +379,10 @@ set( PCB_COMMON_SRCS
|
|||
pcb_plot_params_keywords.cpp
|
||||
../pcbnew/pcb_base_frame.cpp
|
||||
../pcbnew/board_commit.cpp
|
||||
../pcbnew/board_connected_item.cpp
|
||||
../pcbnew/board_design_settings.cpp
|
||||
../pcbnew/board_items_to_polygon_shape_transform.cpp
|
||||
../pcbnew/class_board.cpp
|
||||
../pcbnew/class_board_connected_item.cpp
|
||||
../pcbnew/class_board_design_settings.cpp
|
||||
../pcbnew/class_board_item.cpp
|
||||
../pcbnew/class_dimension.cpp
|
||||
../pcbnew/class_drawsegment.cpp
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
#include <algorithm>
|
||||
#include <fstream>
|
||||
#include <limits>
|
||||
#include <class_board_connected_item.h>
|
||||
#include <board_connected_item.h>
|
||||
#include <memory>
|
||||
|
||||
using namespace hed;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* 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) 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
|
||||
* modify it under the terms of the GNU General Public License
|
|
@ -24,7 +24,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* @file class_board_connected_item.cpp
|
||||
* @file board_connected_item.cpp
|
||||
* @brief BOARD_CONNECTED_ITEM class functions.
|
||||
*/
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* @file class_board_connected_item.h
|
||||
* @file board_connected_item.h
|
||||
* @brief Class BOARD_CONNECTED_ITEM.
|
||||
*/
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* @file class_board_design_settings.cpp
|
||||
* @file board_design_settings.cpp
|
||||
* BOARD_DESIGN_SETTINGS class functions.
|
||||
*/
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
|||
#include <layers_id_colors_and_visibility.h>
|
||||
|
||||
#include <pcbnew.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
|
||||
#include <class_track.h>
|
||||
#include <convert_to_biu.h>
|
|
@ -39,7 +39,7 @@
|
|||
#include <netinfo.h>
|
||||
#include <class_pad.h>
|
||||
#include <colors_design_settings.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <title_block.h>
|
||||
#include <zone_settings.h>
|
||||
#include <pcb_plot_params.h>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
|
||||
#include <class_board_item.h>
|
||||
#include <class_board_connected_item.h>
|
||||
#include <board_connected_item.h>
|
||||
#include <pad_shapes.h>
|
||||
#include <PolyLine.h>
|
||||
#include <config_params.h> // PARAM_CFG_ARRAY
|
||||
|
|
|
@ -33,10 +33,9 @@
|
|||
|
||||
#include <pcbnew.h>
|
||||
#include <class_board_item.h>
|
||||
#include <class_board_connected_item.h>
|
||||
#include <board_connected_item.h>
|
||||
#include <pcb_display_options.h>
|
||||
|
||||
//#include <PolyLine.h>
|
||||
#include <trigo.h>
|
||||
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <vector>
|
||||
#include <gr_basic.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 <PolyLine.h>
|
||||
#include <geometry/shape_poly_set.h>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include <confirm.h>
|
||||
#include <pcbnew.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
|
||||
#include <pcbnew_id.h>
|
||||
#include <class_track.h>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <dialog_drc.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <base_units.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <class_draw_panel_gal.h>
|
||||
#include <view/view.h>
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <confirm.h>
|
||||
#include <pcbnew.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <kicad_string.h>
|
||||
#include <pcbnew_id.h>
|
||||
#include <class_board.h>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include <class_drawpanel.h>
|
||||
#include <pcbnew.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <base_units.h>
|
||||
#include <wx/valnum.h>
|
||||
#include <board_commit.h>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include <class_drawpanel.h>
|
||||
#include <pcbnew.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <footprint_edit_frame.h>
|
||||
#include <base_units.h>
|
||||
#include <wx/valnum.h>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <fctsys.h>
|
||||
#include <pcbnew.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <base_units.h>
|
||||
|
||||
#include <class_board.h>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <fctsys.h>
|
||||
#include <pcbnew.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <base_units.h>
|
||||
#include <widgets/text_ctrl_eval.h>
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include <netlist_reader.h>
|
||||
#include <reporter.h>
|
||||
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <class_board.h>
|
||||
#include <class_module.h>
|
||||
#include <connectivity_data.h>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include <widgets/text_ctrl_eval.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_BASE( aParent ),
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <pcb_edit_frame.h>
|
||||
#include <trigo.h>
|
||||
#include <base_units.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
|
||||
#include <class_module.h>
|
||||
#include <class_track.h>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <fctsys.h>
|
||||
#include <common.h>
|
||||
#include <pcbnew.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
|
||||
#include <drc.h>
|
||||
#include <class_pad.h>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#include <pcbnew.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 <pcbnew_id.h>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <pcbnew_id.h>
|
||||
#include <class_drawpanel.h>
|
||||
#include <confirm.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <origin_viewitem.h>
|
||||
#include <tools/pcbnew_control.h>
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include <class_board.h>
|
||||
#include <class_module.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.
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <pcbnew.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <layers_id_colors_and_visibility.h>
|
||||
#include <pcb_display_options.h>
|
||||
#include <eda_text.h>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <common.h>
|
||||
#include <pcbnew.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 <class_board.h>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include <base_units.h>
|
||||
|
||||
#include <pcbnew.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <layers_id_colors_and_visibility.h>
|
||||
|
||||
#include <pcbnew_id.h>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include <common.h>
|
||||
#include <macros.h>
|
||||
#include <pcb_edit_frame.h>
|
||||
#include <class_board_design_settings.h>
|
||||
#include <board_design_settings.h>
|
||||
#include <plotter.h>
|
||||
#include <worksheet.h>
|
||||
#include <dialog_hotkeys_editor.h>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <undo_redo_container.h>
|
||||
#include <class_board.h>
|
||||
#include <class_board_connected_item.h>
|
||||
#include <board_connected_item.h>
|
||||
#include <class_module.h>
|
||||
#include <class_track.h>
|
||||
#include <board_commit.h>
|
||||
|
|
|
@ -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*> {
|
||||
|
@ -34,18 +34,18 @@
|
|||
std::list<BOARD_CONNECTED_ITEM*>::const_iterator iter;
|
||||
|
||||
PyObject * retval = $result = PyList_New(0);
|
||||
|
||||
|
||||
for( iter=list.begin(); iter!=list.end(); iter++ ) {
|
||||
BOARD_CONNECTED_ITEM* aItem = *iter;
|
||||
PyObject* obj = 0x0;
|
||||
|
||||
|
||||
switch( aItem->Type() ) {
|
||||
case PCB_PAD_T:
|
||||
case PCB_PAD_T:
|
||||
obj = SWIG_NewPointerObj( SWIG_as_voidptr(aItem),
|
||||
SWIGTYPE_p_D_PAD,
|
||||
0 | 0 );
|
||||
break;
|
||||
|
||||
|
||||
case PCB_TRACE_T:
|
||||
case PCB_VIA_T:
|
||||
obj = SWIG_NewPointerObj( SWIG_as_voidptr(aItem),
|
||||
|
@ -58,7 +58,7 @@
|
|||
SWIGTYPE_p_ZONE_CONTAINER,
|
||||
0 | 0 );
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
obj = SWIG_NewPointerObj( SWIG_as_voidptr(aItem),
|
||||
SWIGTYPE_p_BOARD_CONNECTED_ITEM,
|
||||
|
|
|
@ -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>
|
||||
%}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include "pcb_selection_conditions.h"
|
||||
#include "selection_tool.h"
|
||||
#include <class_board_connected_item.h>
|
||||
#include <board_connected_item.h>
|
||||
|
||||
#include <functional>
|
||||
using namespace std::placeholders;
|
||||
|
|
Loading…
Reference in New Issue