Cleanup: Move KiCad files into plugins folder

This commit is contained in:
Michael Kavanagh 2020-10-05 19:38:40 +01:00 committed by Ian McInerney
parent 70fcc139ec
commit c40483d18a
41 changed files with 51 additions and 51 deletions

View File

@ -527,9 +527,9 @@ set( PCB_COMMON_SRCS
${CMAKE_SOURCE_DIR}/pcbnew/io_mgr.cpp ${CMAKE_SOURCE_DIR}/pcbnew/io_mgr.cpp
${CMAKE_SOURCE_DIR}/pcbnew/kicad_clipboard.cpp ${CMAKE_SOURCE_DIR}/pcbnew/kicad_clipboard.cpp
${CMAKE_SOURCE_DIR}/pcbnew/netlist_reader/kicad_netlist_reader.cpp ${CMAKE_SOURCE_DIR}/pcbnew/netlist_reader/kicad_netlist_reader.cpp
${CMAKE_SOURCE_DIR}/pcbnew/kicad_plugin.cpp ${CMAKE_SOURCE_DIR}/pcbnew/plugins/kicad/kicad_plugin.cpp
${CMAKE_SOURCE_DIR}/pcbnew/netlist_reader/legacy_netlist_reader.cpp ${CMAKE_SOURCE_DIR}/pcbnew/netlist_reader/legacy_netlist_reader.cpp
${CMAKE_SOURCE_DIR}/pcbnew/legacy_plugin.cpp ${CMAKE_SOURCE_DIR}/pcbnew/plugins/legacy/legacy_plugin.cpp
${CMAKE_SOURCE_DIR}/pcbnew/netlist_reader/netlist_reader.cpp ${CMAKE_SOURCE_DIR}/pcbnew/netlist_reader/netlist_reader.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pad_custom_shape_functions.cpp ${CMAKE_SOURCE_DIR}/pcbnew/pad_custom_shape_functions.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcb_display_options.cpp ${CMAKE_SOURCE_DIR}/pcbnew/pcb_display_options.cpp
@ -537,7 +537,7 @@ set( PCB_COMMON_SRCS
${CMAKE_SOURCE_DIR}/pcbnew/netlist_reader/pcb_netlist.cpp ${CMAKE_SOURCE_DIR}/pcbnew/netlist_reader/pcb_netlist.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcb_origin_transforms.cpp ${CMAKE_SOURCE_DIR}/pcbnew/pcb_origin_transforms.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcb_painter.cpp ${CMAKE_SOURCE_DIR}/pcbnew/pcb_painter.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcb_parser.cpp ${CMAKE_SOURCE_DIR}/pcbnew/plugins/kicad/pcb_parser.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcb_plot_params.cpp ${CMAKE_SOURCE_DIR}/pcbnew/pcb_plot_params.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcb_screen.cpp ${CMAKE_SOURCE_DIR}/pcbnew/pcb_screen.cpp
${CMAKE_SOURCE_DIR}/pcbnew/pcb_view.cpp ${CMAKE_SOURCE_DIR}/pcbnew/pcb_view.cpp

View File

@ -212,7 +212,7 @@ set( EESCHEMA_SRCS
sch_io_mgr.cpp sch_io_mgr.cpp
sch_item.cpp sch_item.cpp
sch_junction.cpp sch_junction.cpp
sch_legacy_plugin.cpp sch_plugins/legacy/sch_legacy_plugin.cpp
sch_line.cpp sch_line.cpp
sch_marker.cpp sch_marker.cpp
sch_no_connect.cpp sch_no_connect.cpp
@ -220,8 +220,8 @@ set( EESCHEMA_SRCS
sch_plugin.cpp sch_plugin.cpp
sch_preview_panel.cpp sch_preview_panel.cpp
sch_screen.cpp sch_screen.cpp
sch_sexpr_parser.cpp sch_plugins/kicad/sch_sexpr_parser.cpp
sch_sexpr_plugin.cpp sch_plugins/kicad/sch_sexpr_plugin.cpp
sch_sheet.cpp sch_sheet.cpp
sch_sheet_path.cpp sch_sheet_path.cpp
sch_sheet_pin.cpp sch_sheet_pin.cpp

View File

@ -43,7 +43,7 @@
#include <general.h> #include <general.h>
#include <class_library.h> #include <class_library.h>
#include <sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <wx/progdlg.h> #include <wx/progdlg.h>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>

View File

@ -43,7 +43,7 @@
#include <richio.h> #include <richio.h>
#include <sch_component.h> #include <sch_component.h>
#include <sch_edit_frame.h> #include <sch_edit_frame.h>
#include <sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <sch_sheet.h> #include <sch_sheet.h>
#include <sch_sheet_path.h> #include <sch_sheet_path.h>
#include <schematic.h> #include <schematic.h>

View File

@ -32,7 +32,7 @@
#include <kiway.h> #include <kiway.h>
#include <profile.h> #include <profile.h>
#include <sch_io_mgr.h> #include <sch_io_mgr.h>
#include <sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <symbol_lib_table.h> #include <symbol_lib_table.h>
#include <list> #include <list>

View File

@ -38,8 +38,8 @@
#include <lib_manager.h> #include <lib_manager.h>
#include <symbol_tree_pane.h> #include <symbol_tree_pane.h>
#include <widgets/lib_tree.h> #include <widgets/lib_tree.h>
#include <sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <sch_sexpr_plugin.h> #include <sch_plugins/kicad/sch_sexpr_plugin.h>
#include <dialogs/dialog_lib_new_component.h> #include <dialogs/dialog_lib_new_component.h>
#include <dialog_helpers.h> #include <dialog_helpers.h>
#include <wx/clipbrd.h> #include <wx/clipbrd.h>

View File

@ -33,7 +33,7 @@
#include <lib_edit_frame.h> #include <lib_edit_frame.h>
#include <class_libentry.h> #include <class_libentry.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>
#include <sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <properties.h> #include <properties.h>
#include <view/view.h> #include <view/view.h>
#include <tool/tool_manager.h> #include <tool/tool_manager.h>

View File

@ -43,7 +43,7 @@
#include <properties.h> #include <properties.h>
#include <class_libentry.h> #include <class_libentry.h>
#include <sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <class_draw_panel_gal.h> #include <class_draw_panel_gal.h>

View File

@ -24,9 +24,9 @@
#include <wx/uri.h> #include <wx/uri.h>
#include <sch_io_mgr.h> #include <sch_io_mgr.h>
#include <sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <sch_plugins/eagle/sch_eagle_plugin.h> #include <sch_plugins/eagle/sch_eagle_plugin.h>
#include <sch_sexpr_plugin.h> #include <sch_plugins/kicad/sch_sexpr_plugin.h>
#include <sch_plugins/altium/sch_altium_plugin.h> #include <sch_plugins/altium/sch_altium_plugin.h>
#include <sch_plugins/cadstar/cadstar_sch_archive_plugin.h> #include <sch_plugins/cadstar/cadstar_sch_archive_plugin.h>

View File

@ -50,7 +50,7 @@
#include <memory> #include <memory>
#include <compoundfilereader.h> #include <compoundfilereader.h>
#include <plugins/altium/altium_parser.h> #include <plugins/altium/altium_parser.h>
#include <sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>
#include <wx/textfile.h> #include <wx/textfile.h>

View File

@ -51,7 +51,7 @@
#include <project/net_settings.h> #include <project/net_settings.h>
#include <sch_edit_frame.h> #include <sch_edit_frame.h>
#include <sch_junction.h> #include <sch_junction.h>
#include <sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <sch_marker.h> #include <sch_marker.h>
#include <sch_screen.h> #include <sch_screen.h>
#include <sch_sheet.h> #include <sch_sheet.h>

View File

@ -51,7 +51,7 @@
#include <sch_junction.h> #include <sch_junction.h>
#include <sch_no_connect.h> #include <sch_no_connect.h>
#include <sch_screen.h> #include <sch_screen.h>
#include <sch_sexpr_parser.h> #include <sch_plugins/kicad/sch_sexpr_parser.h>
#include <template_fieldnames.h> #include <template_fieldnames.h>

View File

@ -40,7 +40,7 @@
#include <sch_iref.h> #include <sch_iref.h>
#include <sch_sheet.h> #include <sch_sheet.h>
#include <schematic.h> #include <schematic.h>
#include <sch_sexpr_plugin.h> #include <sch_plugins/kicad/sch_sexpr_plugin.h>
#include <sch_screen.h> #include <sch_screen.h>
#include <class_libentry.h> #include <class_libentry.h>
#include <class_library.h> #include <class_library.h>
@ -55,7 +55,7 @@
#include <eeschema_id.h> // for MAX_UNIT_COUNT_PER_PACKAGE definition #include <eeschema_id.h> // for MAX_UNIT_COUNT_PER_PACKAGE definition
#include <sch_file_versions.h> #include <sch_file_versions.h>
#include <schematic_lexer.h> #include <schematic_lexer.h>
#include <sch_sexpr_parser.h> #include <sch_plugins/kicad/sch_sexpr_parser.h>
#include <symbol_lib_table.h> // for PropPowerSymsOnly definintion. #include <symbol_lib_table.h> // for PropPowerSymsOnly definintion.
#include <ee_selection.h> #include <ee_selection.h>

View File

@ -50,7 +50,7 @@
#include <sch_sheet.h> #include <sch_sheet.h>
#include <sch_bitmap.h> #include <sch_bitmap.h>
#include <bus_alias.h> #include <bus_alias.h>
#include <sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <template_fieldnames.h> #include <template_fieldnames.h>
#include <sch_screen.h> #include <sch_screen.h>
#include <schematic.h> #include <schematic.h>

View File

@ -30,7 +30,7 @@
#include <tool/tool_manager.h> #include <tool/tool_manager.h>
#include <wx/clipbrd.h> #include <wx/clipbrd.h>
#include <sch_edit_frame.h> #include <sch_edit_frame.h>
#include <sch_legacy_plugin.h> #include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <sch_sheet.h> #include <sch_sheet.h>
#include <sch_sheet_path.h> #include <sch_sheet_path.h>
#include <sch_view.h> #include <sch_view.h>

View File

@ -38,7 +38,7 @@
#include <dialogs/dialog_edit_one_field.h> #include <dialogs/dialog_edit_one_field.h>
#include <dialogs/dialog_edit_component_in_lib.h> #include <dialogs/dialog_edit_component_in_lib.h>
#include <dialogs/dialog_lib_edit_pin_table.h> #include <dialogs/dialog_lib_edit_pin_table.h>
#include <sch_sexpr_plugin.h> #include <sch_plugins/kicad/sch_sexpr_plugin.h>
#include <lib_text.h> #include <lib_text.h>
#include "lib_edit_tool.h" #include "lib_edit_tool.h"
#include <math/util.h> // for KiROUND #include <math/util.h> // for KiROUND

View File

@ -39,7 +39,7 @@
#include <project/project_file.h> #include <project/project_file.h>
#include <project/net_settings.h> #include <project/net_settings.h>
#include <sch_edit_frame.h> #include <sch_edit_frame.h>
#include <sch_sexpr_plugin.h> #include <sch_plugins/kicad/sch_sexpr_plugin.h>
#include <sch_line.h> #include <sch_line.h>
#include <sch_painter.h> #include <sch_painter.h>
#include <sch_sheet.h> #include <sch_sheet.h>

View File

@ -33,7 +33,7 @@
#include <ws_proxy_view_item.h> #include <ws_proxy_view_item.h>
#include <pcb_painter.h> #include <pcb_painter.h>
#include <class_track.h> #include <class_track.h>
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
std::string g_previewBoard = std::string g_previewBoard =

View File

@ -46,7 +46,7 @@
#include <footprint_tree_pane.h> #include <footprint_tree_pane.h>
#include <footprint_viewer_frame.h> #include <footprint_viewer_frame.h>
#include <fp_lib_table.h> #include <fp_lib_table.h>
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#include <kiface_i.h> #include <kiface_i.h>
#include <kiplatform/app.h> #include <kiplatform/app.h>
#include <kiway.h> #include <kiway.h>

View File

@ -39,8 +39,8 @@
#include <board_commit.h> #include <board_commit.h>
#include <footprint_edit_frame.h> #include <footprint_edit_frame.h>
#include <wildcards_and_files_ext.h> #include <wildcards_and_files_ext.h>
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#include <legacy_plugin.h> #include <plugins/legacy/legacy_plugin.h>
#include <env_paths.h> #include <env_paths.h>
#include <settings/settings_manager.h> #include <settings/settings_manager.h>
#include <footprint_editor_settings.h> #include <footprint_editor_settings.h>

View File

@ -81,7 +81,7 @@ Vary: Accept-Encoding
#include <io_mgr.h> #include <io_mgr.h>
#include <richio.h> #include <richio.h>
#include <pcb_parser.h> #include <plugins/kicad/pcb_parser.h>
#include <class_board.h> #include <class_board.h>
#include <github_plugin.h> #include <github_plugin.h>
#include <class_module.h> #include <class_module.h>

View File

@ -25,7 +25,7 @@
#ifndef GITHUB_PLUGIN_H_ #ifndef GITHUB_PLUGIN_H_
#define GITHUB_PLUGIN_H_ #define GITHUB_PLUGIN_H_
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
struct GH_CACHE; struct GH_CACHE;

View File

@ -29,8 +29,8 @@
#include <plugins/eagle/eagle_plugin.h> #include <plugins/eagle/eagle_plugin.h>
#include <plugins/geda/gpcb_plugin.h> #include <plugins/geda/gpcb_plugin.h>
#include <io_mgr.h> #include <io_mgr.h>
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#include <legacy_plugin.h> #include <plugins/legacy/legacy_plugin.h>
#include <plugins/pcad/pcad_plugin.h> #include <plugins/pcad/pcad_plugin.h>
#include <plugins/altium/altium_circuit_maker_plugin.h> #include <plugins/altium/altium_circuit_maker_plugin.h>
#include <plugins/altium/altium_circuit_studio_plugin.h> #include <plugins/altium/altium_circuit_studio_plugin.h>

View File

@ -32,9 +32,9 @@
#include <fp_text.h> #include <fp_text.h>
#include <common.h> #include <common.h>
#include <netinfo.h> #include <netinfo.h>
#include <pcb_parser.h> #include <plugins/kicad/pcb_parser.h>
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#include <kicad_clipboard.h> #include <kicad_clipboard.h>
CLIPBOARD_IO::CLIPBOARD_IO(): CLIPBOARD_IO::CLIPBOARD_IO():

View File

@ -30,10 +30,10 @@
#ifndef KICAD_CLIPBOARD_H #ifndef KICAD_CLIPBOARD_H
#define KICAD_CLIPBOARD_H #define KICAD_CLIPBOARD_H
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#include <class_board_item.h> #include <class_board_item.h>
#include <class_module.h> #include <class_module.h>
#include <pcb_parser.h> #include <plugins/kicad/pcb_parser.h>
#include <memory.h> #include <memory.h>
#include <tools/pcbnew_selection.h> #include <tools/pcbnew_selection.h>

View File

@ -38,8 +38,8 @@
#include <fp_shape.h> #include <fp_shape.h>
#include <confirm.h> #include <confirm.h>
#include <zones.h> #include <zones.h>
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#include <pcb_parser.h> #include <plugins/kicad/pcb_parser.h>
#include <pcbnew_settings.h> #include <pcbnew_settings.h>
#include <boost/ptr_container/ptr_map.hpp> #include <boost/ptr_container/ptr_map.hpp>
#include <convert_basic_shapes_to_polygon.h> // for enum RECT_CHAMFER_POSITIONS definition #include <convert_basic_shapes_to_polygon.h> // for enum RECT_CHAMFER_POSITIONS definition

View File

@ -46,11 +46,11 @@
#include <class_pad.h> #include <class_pad.h>
#include <class_track.h> #include <class_track.h>
#include <class_zone.h> #include <class_zone.h>
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#include <pcb_plot_params_parser.h> #include <pcb_plot_params_parser.h>
#include <pcb_plot_params.h> #include <pcb_plot_params.h>
#include <zones.h> #include <zones.h>
#include <pcb_parser.h> #include <plugins/kicad/pcb_parser.h>
#include <convert_basic_shapes_to_polygon.h> // for RECT_CHAMFER_POSITIONS definition #include <convert_basic_shapes_to_polygon.h> // for RECT_CHAMFER_POSITIONS definition
#include <template_fieldnames.h> #include <template_fieldnames.h>

View File

@ -62,7 +62,7 @@
#include <cmath> #include <cmath>
#include <cstdio> #include <cstdio>
#include <cstring> #include <cstring>
#include <legacy_plugin.h> // implement this here #include <plugins/legacy/legacy_plugin.h> // implement this here
#include <wx/ffile.h> #include <wx/ffile.h>
#include <wx/string.h> #include <wx/string.h>

View File

@ -50,7 +50,7 @@ using namespace std::placeholders;
#include "pns_kicad_iface.h" #include "pns_kicad_iface.h"
#ifdef DEBUG #ifdef DEBUG
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#endif #endif
using namespace KIGFX; using namespace KIGFX;

View File

@ -105,9 +105,9 @@ HANDLE_EXCEPTIONS(PLUGIN::FootprintEnumerate)
HANDLE_EXCEPTIONS(PLUGIN::FootprintLoad) HANDLE_EXCEPTIONS(PLUGIN::FootprintLoad)
HANDLE_EXCEPTIONS(PLUGIN::FootprintSave) HANDLE_EXCEPTIONS(PLUGIN::FootprintSave)
HANDLE_EXCEPTIONS(PLUGIN::FootprintDelete) HANDLE_EXCEPTIONS(PLUGIN::FootprintDelete)
%include <kicad_plugin.h> %include <plugins/kicad/kicad_plugin.h>
%{ %{
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
%} %}

View File

@ -49,7 +49,7 @@ using namespace std::placeholders;
#include "pcb_bright_box.h" #include "pcb_bright_box.h"
#include "pcb_actions.h" #include "pcb_actions.h"
#include "kicad_plugin.h" #include "plugins/kicad/kicad_plugin.h"

View File

@ -7,7 +7,7 @@
#include <pcb_expr_evaluator.h> #include <pcb_expr_evaluator.h>
#include <io_mgr.h> #include <io_mgr.h>
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#include <unordered_set> #include <unordered_set>

View File

@ -32,8 +32,8 @@
#include <wx/cmdline.h> #include <wx/cmdline.h>
#include <class_board_item.h> #include <class_board_item.h>
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#include <pcb_parser.h> #include <plugins/kicad/pcb_parser.h>
#include <richio.h> #include <richio.h>
#include <wx/cmdline.h> #include <wx/cmdline.h>

View File

@ -24,8 +24,8 @@
#include <pcbnew_utils/board_file_utils.h> #include <pcbnew_utils/board_file_utils.h>
// For PCB parsing // For PCB parsing
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#include <pcb_parser.h> #include <plugins/kicad/pcb_parser.h>
#include <richio.h> #include <richio.h>
#include <class_board.h> #include <class_board.h>

View File

@ -64,7 +64,7 @@
#include <tools/pcb_tool_base.h> #include <tools/pcb_tool_base.h>
#include <tools/pcb_actions.h> #include <tools/pcb_actions.h>
#include <tools/selection_tool.h> #include <tools/selection_tool.h>
#include <kicad_plugin.h> #include <plugins/kicad/kicad_plugin.h>
#include "pcb_test_frame.h" #include "pcb_test_frame.h"