7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 10:20:11 +00:00

Remove some "class_" prefixes from files.

This commit is contained in:
Jeff Young 2020-11-12 20:19:22 +00:00
parent 72beaf1538
commit 84dd5108ba
267 changed files with 466 additions and 471 deletions
3d-viewer
common
cvpcb
include
pcbnew
array_creator.harray_pad_name_provider.cpparray_pad_name_provider.h
autorouter
board.cppboard.hboard_commit.cppboard_connected_item.cppboard_design_settings.cppboard_items_to_polygon_shape_transform.cpp
board_stackup_manager
build_BOM_from_board.cppclass_board_item.cppclass_marker_pcb.cppcollectors.cpp
connectivity
convert_drawsegment_list_to_polygon.cppcross-probing.cpp
dialogs
dimension.cpp
drc
edit.cppedit_track_width.cpp
exporters
files.cppfootprint.cppfootprint.hfootprint_edit_frame.cppfootprint_info_impl.cppfootprint_libraries_utils.cppfootprint_preview_panel.cppfootprint_viewer_frame.cppfootprint_wizard_frame.cppfootprint_wizard_frame_functions.cppfp_shape.cppfp_text.cppfp_tree_synchronizing_adapter.cppgenerate_footprint_info.cppgraphics_cleaner.hgrid_layer_box_helpers.cpp
import_gfx
initpcb.cppkicad_clipboard.cppkicad_clipboard.hload_select_footprint.cppmenubar_footprint_editor.cpp
microwave
netinfo_item.cppnetinfo_list.cpp
netlist_reader
pad.cpppad.hpad_custom_shape_functions.cpppad_naming.hpcb_base_edit_frame.cpppcb_base_frame.cpppcb_draw_panel_gal.cpppcb_edit_frame.cpppcb_expr_evaluator.cpppcb_group.cpppcb_layer_box_selector.cpppcb_painter.cpppcb_shape.cpppcb_target.cpppcb_text.cpppcb_view.cpppcbnew.cpppcbnew_printout.cpppcbplot.cppplot_board_layers.cppplot_brditems_plotter.cpp
plugins
ratsnest
router
sel_layer.cpp
specctra_import_export
swig
toolbars_footprint_editor.cpptoolbars_pcb_editor.cpp
tools
track.cpptrack.htracks_cleaner.hundo_redo.cpp
widgets
zone.cppzone_filler.cppzone_settings.cppzones_by_polygon.cppzones_functions_for_undo_redo.cppzones_test_and_combine_areas.cpp
qa

View File

@ -33,7 +33,7 @@
#include <3d_model_viewer/c3d_model_viewer.h>
#include <common_ogl/cogl_att_list.h>
#include <filename_resolver.h>
#include <pcbnew/class_module.h>
#include <pcbnew/footprint.h>
#include <wx/filedlg.h>

View File

@ -32,7 +32,7 @@
#include <tools/3d_controller.h>
#include <base_units.h>
#include <bitmaps.h>
#include <class_board.h>
#include <board.h>
#include <common_ogl/cogl_att_list.h>
#include <gal/dpi_scaling.h>
#include <pgm_base.h>

View File

@ -30,7 +30,7 @@
#include "../3d_rendering/ccamera.h"
#include "board_adapter.h"
#include <3d_rendering/3d_render_raytracing/shapes2D/cpolygon2d.h>
#include <class_board.h>
#include <board.h>
#include <3d_math.h>
#include "3d_fastmath.h"
#include <geometry/geometry_utils.h>

View File

@ -36,15 +36,15 @@
#include "../common_ogl/cogl_att_list.h"
#include <layers_id_colors_and_visibility.h>
#include <class_pad.h>
#include <class_track.h>
#include <pad.h>
#include <track.h>
#include <wx/gdicmn.h>
#include <pcb_base_frame.h>
#include <pcb_text.h>
#include <pcb_shape.h>
#include <dimension.h>
#include <zone.h>
#include <class_module.h>
#include <footprint.h>
#include <reporter.h>
class COLOR_SETTINGS;

View File

@ -35,9 +35,9 @@
#include "../3d_rendering/3d_render_raytracing/shapes2D/croundsegment2d.h"
#include "../3d_rendering/3d_render_raytracing/shapes2D/ctriangle2d.h"
#include <board_adapter.h>
#include <class_board.h>
#include <class_module.h>
#include <class_pad.h>
#include <board.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_text.h>
#include <fp_shape.h>
#include <zone.h>

View File

@ -35,9 +35,9 @@
#include "../3d_rendering/3d_render_raytracing/shapes2D/cfilledcircle2d.h"
#include "../3d_rendering/3d_render_raytracing/shapes3D/ccylinder.h"
#include <class_board.h>
#include <class_module.h>
#include <class_pad.h>
#include <board.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_text.h>
#include <fp_shape.h>
#include <zone.h>

View File

@ -31,7 +31,7 @@
#include "board_adapter.h"
#include <convert_basic_shapes_to_polygon.h>
#include <fp_shape.h>
#include <class_module.h>
#include <footprint.h>
void BOARD_ADAPTER::buildPadShapeThickOutlineAsPolygon( const D_PAD* aPad,

View File

@ -38,7 +38,7 @@
#include <3d_rendering/3d_render_ogl_legacy/c3d_render_ogl_legacy.h>
#include <3d_rendering/3d_render_raytracing/accelerators/cbvh_pbrt.h>
#include <3d_viewer_id.h>
#include <class_board.h>
#include <board.h>
#include <reporter.h>
#include <gl_context_mgr.h>
#include <profile.h> // To use GetRunningMicroSecs or another profiling utility

View File

@ -29,8 +29,8 @@
#include "c3d_render_ogl_legacy.h"
#include "ogl_legacy_utils.h"
#include <class_board.h>
#include <class_module.h>
#include <board.h>
#include <footprint.h>
#include "../../3d_math.h"
#include "../../3d_fastmath.h"
#include <trigo.h>

View File

@ -33,8 +33,8 @@
#include "ogl_legacy_utils.h"
#include "common_ogl/ogl_utils.h"
#include "../cimage.h"
#include <class_board.h>
#include <class_module.h>
#include <board.h>
#include <footprint.h>
#include <3d_math.h>
#include <math/util.h> // for KiROUND

View File

@ -42,8 +42,8 @@
#include "3d_fastmath.h"
#include "3d_math.h"
#include <class_board.h>
#include <class_module.h>
#include <board.h>
#include <footprint.h>
#include <base_units.h>
#include <profile.h> // To use GetRunningMicroSecs or another profiling utility

View File

@ -38,7 +38,7 @@
#include <bitmaps.h>
#include <board_stackup_manager/class_board_stackup.h>
#include <board_stackup_manager/stackup_predefined_prms.h>
#include <class_board.h>
#include <board.h>
#include <layers_id_colors_and_visibility.h>
#include <gal/dpi_scaling.h>
#include <pgm_base.h>

View File

@ -501,22 +501,22 @@ set( PCB_COMMON_SRCS
${CMAKE_SOURCE_DIR}/pcbnew/board_connected_item.cpp
${CMAKE_SOURCE_DIR}/pcbnew/board_design_settings.cpp
${CMAKE_SOURCE_DIR}/pcbnew/board_items_to_polygon_shape_transform.cpp
${CMAKE_SOURCE_DIR}/pcbnew/class_board.cpp
${CMAKE_SOURCE_DIR}/pcbnew/board.cpp
${CMAKE_SOURCE_DIR}/pcbnew/class_board_item.cpp
${CMAKE_SOURCE_DIR}/pcbnew/dimension.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcb_shape.cpp
${CMAKE_SOURCE_DIR}/pcbnew/fp_shape.cpp
${CMAKE_SOURCE_DIR}/pcbnew/class_pcb_group.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcb_group.cpp
${CMAKE_SOURCE_DIR}/pcbnew/class_marker_pcb.cpp
${CMAKE_SOURCE_DIR}/pcbnew/class_module.cpp
${CMAKE_SOURCE_DIR}/pcbnew/footprint.cpp
${CMAKE_SOURCE_DIR}/pcbnew/netinfo_item.cpp
${CMAKE_SOURCE_DIR}/pcbnew/netinfo_list.cpp
${CMAKE_SOURCE_DIR}/pcbnew/class_pad.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pad.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcb_target.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcb_text.cpp
${CMAKE_SOURCE_DIR}/pcbnew/board_stackup_manager/class_board_stackup.cpp
${CMAKE_SOURCE_DIR}/pcbnew/fp_text.cpp
${CMAKE_SOURCE_DIR}/pcbnew/class_track.cpp
${CMAKE_SOURCE_DIR}/pcbnew/track.cpp
${CMAKE_SOURCE_DIR}/pcbnew/zone.cpp
${CMAKE_SOURCE_DIR}/pcbnew/collectors.cpp
${CMAKE_SOURCE_DIR}/pcbnew/connectivity/connectivity_algo.cpp

View File

@ -33,7 +33,7 @@
#include <settings/settings_manager.h>
#include <systemdirsappend.h>
#include <fp_lib_table.h>
#include <class_module.h>
#include <footprint.h>
#include <wx/hash.h>

View File

@ -25,10 +25,10 @@
#include <hash_eda.h>
#include <class_module.h>
#include <footprint.h>
#include <fp_text.h>
#include <fp_shape.h>
#include <class_pad.h>
#include <pad.h>
#include <functional>

View File

@ -224,7 +224,8 @@ KIFACE* KIWAY::KiFACE( FACE_T aFaceId, bool doLoad )
// here and catching it in the KiCad launcher resolves the crash issue. See bug
// report https://bugs.launchpad.net/kicad/+bug/1577786.
msg.Printf( _( "Failed to load kiface library \"%s\"." ), dname );
msg.Printf( _( "Failed to load kiface library \"%s\"." ),
dname );
THROW_IO_ERROR( msg );
}
else if( ( addr = dso.GetSymbol( wxT( KIFACE_INSTANCE_NAME_AND_VERSION ) ) ) == NULL )
@ -232,9 +233,9 @@ KIFACE* KIWAY::KiFACE( FACE_T aFaceId, bool doLoad )
// Failure: error reporting UI was done via wxLogSysError().
// No further reporting required here. Assume the same thing applies here as
// above with the Load() call. This has not been tested.
msg.Printf(
_( "Could not read instance name and version symbol form kiface library \"%s\"." ),
dname );
msg.Printf( _( "Could not read instance name and version symbol form kiface "
"library \"%s\"." ),
dname );
THROW_IO_ERROR( msg );
}
else
@ -382,7 +383,7 @@ KIWAY_PLAYER* KIWAY::Player( FRAME_T aFrameType, bool doCreate, wxTopLevelWindow
{
DisplayErrorMessage( NULL, _( "Error loading editor" ), ioe.What() );
}
catch ( const std::exception& e)
catch( const std::exception& e)
{
DisplayErrorMessage( NULL, _( "Error loading editor" ), e.what() );
}

View File

@ -26,7 +26,7 @@
#include <widgets/net_selector.h>
#include <class_board.h>
#include <board.h>
#include <netinfo.h>
#include <wx/arrstr.h>
#include <wx/display.h>

View File

@ -24,8 +24,8 @@
*/
#include <bitmaps.h>
#include <class_board.h>
#include <class_module.h>
#include <board.h>
#include <footprint.h>
#include <common.h>
#include <confirm.h>
#include <cvpcb_settings.h>

View File

@ -25,7 +25,7 @@
#ifndef BOARD_DESIGN_SETTINGS_H_
#define BOARD_DESIGN_SETTINGS_H_
#include <class_pad.h>
#include <pad.h>
#include <netclass.h>
#include <config_params.h>
#include <board_stackup_manager/class_board_stackup.h>

View File

@ -33,7 +33,7 @@
#include <eda_item.h>
#include <class_board.h>
#include <board.h>
#include <eda_draw_frame.h>
#include <outline_mode.h>
#include <lib_id.h>

View File

@ -27,8 +27,8 @@
#include <dialogs/dialog_create_array.h>
#include <class_board.h>
#include <class_module.h>
#include <board.h>
#include <footprint.h>
#include <class_board_item.h>
#include <tools/pcbnew_selection.h>

View File

@ -23,7 +23,7 @@
#include <array_pad_name_provider.h>
#include <class_pad.h>
#include <pad.h>
ARRAY_PAD_NAME_PROVIDER::ARRAY_PAD_NAME_PROVIDER(

View File

@ -26,7 +26,7 @@
#include <array_options.h>
#include <class_module.h>
#include <footprint.h>
/**
* Simple class that sequentially provides names from an #ARRAY_OPTIONS

View File

@ -29,11 +29,11 @@
#include <pcbnew.h>
#include <pcb_edit_frame.h>
#include <widgets/msgpanel.h>
#include <class_board.h>
#include <class_module.h>
#include <class_track.h>
#include <board.h>
#include <footprint.h>
#include <track.h>
#include <pcb_shape.h>
#include <class_pad.h>
#include <pad.h>
#include <board_commit.h>
#include <connectivity/connectivity_data.h>
#include <widgets/progress_reporter.h>

Some files were not shown because too many files have changed in this diff Show More