Cleanup: Move KiCad files into plugins folder
This commit is contained in:
parent
70fcc139ec
commit
c40483d18a
|
@ -527,9 +527,9 @@ set( PCB_COMMON_SRCS
|
|||
${CMAKE_SOURCE_DIR}/pcbnew/io_mgr.cpp
|
||||
${CMAKE_SOURCE_DIR}/pcbnew/kicad_clipboard.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/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/pad_custom_shape_functions.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/pcb_origin_transforms.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_screen.cpp
|
||||
${CMAKE_SOURCE_DIR}/pcbnew/pcb_view.cpp
|
||||
|
|
|
@ -212,7 +212,7 @@ set( EESCHEMA_SRCS
|
|||
sch_io_mgr.cpp
|
||||
sch_item.cpp
|
||||
sch_junction.cpp
|
||||
sch_legacy_plugin.cpp
|
||||
sch_plugins/legacy/sch_legacy_plugin.cpp
|
||||
sch_line.cpp
|
||||
sch_marker.cpp
|
||||
sch_no_connect.cpp
|
||||
|
@ -220,8 +220,8 @@ set( EESCHEMA_SRCS
|
|||
sch_plugin.cpp
|
||||
sch_preview_panel.cpp
|
||||
sch_screen.cpp
|
||||
sch_sexpr_parser.cpp
|
||||
sch_sexpr_plugin.cpp
|
||||
sch_plugins/kicad/sch_sexpr_parser.cpp
|
||||
sch_plugins/kicad/sch_sexpr_plugin.cpp
|
||||
sch_sheet.cpp
|
||||
sch_sheet_path.cpp
|
||||
sch_sheet_pin.cpp
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
#include <general.h>
|
||||
#include <class_library.h>
|
||||
#include <sch_legacy_plugin.h>
|
||||
#include <sch_plugins/legacy/sch_legacy_plugin.h>
|
||||
|
||||
#include <wx/progdlg.h>
|
||||
#include <wx/tokenzr.h>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#include <richio.h>
|
||||
#include <sch_component.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_path.h>
|
||||
#include <schematic.h>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <kiway.h>
|
||||
#include <profile.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 <list>
|
||||
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
#include <lib_manager.h>
|
||||
#include <symbol_tree_pane.h>
|
||||
#include <widgets/lib_tree.h>
|
||||
#include <sch_legacy_plugin.h>
|
||||
#include <sch_sexpr_plugin.h>
|
||||
#include <sch_plugins/legacy/sch_legacy_plugin.h>
|
||||
#include <sch_plugins/kicad/sch_sexpr_plugin.h>
|
||||
#include <dialogs/dialog_lib_new_component.h>
|
||||
#include <dialog_helpers.h>
|
||||
#include <wx/clipbrd.h>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include <lib_edit_frame.h>
|
||||
#include <class_libentry.h>
|
||||
#include <wildcards_and_files_ext.h>
|
||||
#include <sch_legacy_plugin.h>
|
||||
#include <sch_plugins/legacy/sch_legacy_plugin.h>
|
||||
#include <properties.h>
|
||||
#include <view/view.h>
|
||||
#include <tool/tool_manager.h>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
#include <properties.h>
|
||||
#include <class_libentry.h>
|
||||
#include <sch_legacy_plugin.h>
|
||||
#include <sch_plugins/legacy/sch_legacy_plugin.h>
|
||||
#include <class_draw_panel_gal.h>
|
||||
|
||||
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
#include <wx/uri.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_sexpr_plugin.h>
|
||||
#include <sch_plugins/kicad/sch_sexpr_plugin.h>
|
||||
|
||||
#include <sch_plugins/altium/sch_altium_plugin.h>
|
||||
#include <sch_plugins/cadstar/cadstar_sch_archive_plugin.h>
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
#include <memory>
|
||||
#include <compoundfilereader.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 <wx/textfile.h>
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
#include <project/net_settings.h>
|
||||
#include <sch_edit_frame.h>
|
||||
#include <sch_junction.h>
|
||||
#include <sch_legacy_plugin.h>
|
||||
#include <sch_plugins/legacy/sch_legacy_plugin.h>
|
||||
#include <sch_marker.h>
|
||||
#include <sch_screen.h>
|
||||
#include <sch_sheet.h>
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
#include <sch_junction.h>
|
||||
#include <sch_no_connect.h>
|
||||
#include <sch_screen.h>
|
||||
#include <sch_sexpr_parser.h>
|
||||
#include <sch_plugins/kicad/sch_sexpr_parser.h>
|
||||
#include <template_fieldnames.h>
|
||||
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
#include <sch_iref.h>
|
||||
#include <sch_sheet.h>
|
||||
#include <schematic.h>
|
||||
#include <sch_sexpr_plugin.h>
|
||||
#include <sch_plugins/kicad/sch_sexpr_plugin.h>
|
||||
#include <sch_screen.h>
|
||||
#include <class_libentry.h>
|
||||
#include <class_library.h>
|
||||
|
@ -55,7 +55,7 @@
|
|||
#include <eeschema_id.h> // for MAX_UNIT_COUNT_PER_PACKAGE definition
|
||||
#include <sch_file_versions.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 <ee_selection.h>
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
#include <sch_sheet.h>
|
||||
#include <sch_bitmap.h>
|
||||
#include <bus_alias.h>
|
||||
#include <sch_legacy_plugin.h>
|
||||
#include <sch_plugins/legacy/sch_legacy_plugin.h>
|
||||
#include <template_fieldnames.h>
|
||||
#include <sch_screen.h>
|
||||
#include <schematic.h>
|
|
@ -30,7 +30,7 @@
|
|||
#include <tool/tool_manager.h>
|
||||
#include <wx/clipbrd.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_path.h>
|
||||
#include <sch_view.h>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include <dialogs/dialog_edit_one_field.h>
|
||||
#include <dialogs/dialog_edit_component_in_lib.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_edit_tool.h"
|
||||
#include <math/util.h> // for KiROUND
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include <project/project_file.h>
|
||||
#include <project/net_settings.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_painter.h>
|
||||
#include <sch_sheet.h>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include <ws_proxy_view_item.h>
|
||||
#include <pcb_painter.h>
|
||||
#include <class_track.h>
|
||||
#include <kicad_plugin.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
|
||||
|
||||
std::string g_previewBoard =
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#include <footprint_tree_pane.h>
|
||||
#include <footprint_viewer_frame.h>
|
||||
#include <fp_lib_table.h>
|
||||
#include <kicad_plugin.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
#include <kiface_i.h>
|
||||
#include <kiplatform/app.h>
|
||||
#include <kiway.h>
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
#include <board_commit.h>
|
||||
#include <footprint_edit_frame.h>
|
||||
#include <wildcards_and_files_ext.h>
|
||||
#include <kicad_plugin.h>
|
||||
#include <legacy_plugin.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
#include <plugins/legacy/legacy_plugin.h>
|
||||
#include <env_paths.h>
|
||||
#include <settings/settings_manager.h>
|
||||
#include <footprint_editor_settings.h>
|
||||
|
|
|
@ -81,7 +81,7 @@ Vary: Accept-Encoding
|
|||
|
||||
#include <io_mgr.h>
|
||||
#include <richio.h>
|
||||
#include <pcb_parser.h>
|
||||
#include <plugins/kicad/pcb_parser.h>
|
||||
#include <class_board.h>
|
||||
#include <github_plugin.h>
|
||||
#include <class_module.h>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef GITHUB_PLUGIN_H_
|
||||
#define GITHUB_PLUGIN_H_
|
||||
|
||||
#include <kicad_plugin.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
|
||||
struct GH_CACHE;
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
#include <plugins/eagle/eagle_plugin.h>
|
||||
#include <plugins/geda/gpcb_plugin.h>
|
||||
#include <io_mgr.h>
|
||||
#include <kicad_plugin.h>
|
||||
#include <legacy_plugin.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
#include <plugins/legacy/legacy_plugin.h>
|
||||
#include <plugins/pcad/pcad_plugin.h>
|
||||
#include <plugins/altium/altium_circuit_maker_plugin.h>
|
||||
#include <plugins/altium/altium_circuit_studio_plugin.h>
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
#include <fp_text.h>
|
||||
#include <common.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>
|
||||
|
||||
CLIPBOARD_IO::CLIPBOARD_IO():
|
||||
|
|
|
@ -30,10 +30,10 @@
|
|||
#ifndef KICAD_CLIPBOARD_H
|
||||
#define KICAD_CLIPBOARD_H
|
||||
|
||||
#include <kicad_plugin.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
#include <class_board_item.h>
|
||||
#include <class_module.h>
|
||||
#include <pcb_parser.h>
|
||||
#include <plugins/kicad/pcb_parser.h>
|
||||
#include <memory.h>
|
||||
#include <tools/pcbnew_selection.h>
|
||||
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
#include <fp_shape.h>
|
||||
#include <confirm.h>
|
||||
#include <zones.h>
|
||||
#include <kicad_plugin.h>
|
||||
#include <pcb_parser.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
#include <plugins/kicad/pcb_parser.h>
|
||||
#include <pcbnew_settings.h>
|
||||
#include <boost/ptr_container/ptr_map.hpp>
|
||||
#include <convert_basic_shapes_to_polygon.h> // for enum RECT_CHAMFER_POSITIONS definition
|
|
@ -46,11 +46,11 @@
|
|||
#include <class_pad.h>
|
||||
#include <class_track.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.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 <template_fieldnames.h>
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <legacy_plugin.h> // implement this here
|
||||
#include <plugins/legacy/legacy_plugin.h> // implement this here
|
||||
#include <wx/ffile.h>
|
||||
#include <wx/string.h>
|
||||
|
|
@ -50,7 +50,7 @@ using namespace std::placeholders;
|
|||
#include "pns_kicad_iface.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#include <kicad_plugin.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
#endif
|
||||
|
||||
using namespace KIGFX;
|
||||
|
|
|
@ -105,9 +105,9 @@ HANDLE_EXCEPTIONS(PLUGIN::FootprintEnumerate)
|
|||
HANDLE_EXCEPTIONS(PLUGIN::FootprintLoad)
|
||||
HANDLE_EXCEPTIONS(PLUGIN::FootprintSave)
|
||||
HANDLE_EXCEPTIONS(PLUGIN::FootprintDelete)
|
||||
%include <kicad_plugin.h>
|
||||
%include <plugins/kicad/kicad_plugin.h>
|
||||
%{
|
||||
#include <kicad_plugin.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
%}
|
||||
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ using namespace std::placeholders;
|
|||
#include "pcb_bright_box.h"
|
||||
#include "pcb_actions.h"
|
||||
|
||||
#include "kicad_plugin.h"
|
||||
#include "plugins/kicad/kicad_plugin.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <pcb_expr_evaluator.h>
|
||||
|
||||
#include <io_mgr.h>
|
||||
#include <kicad_plugin.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
|
||||
#include <unordered_set>
|
||||
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
#include <wx/cmdline.h>
|
||||
|
||||
#include <class_board_item.h>
|
||||
#include <kicad_plugin.h>
|
||||
#include <pcb_parser.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
#include <plugins/kicad/pcb_parser.h>
|
||||
#include <richio.h>
|
||||
|
||||
#include <wx/cmdline.h>
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
#include <pcbnew_utils/board_file_utils.h>
|
||||
|
||||
// For PCB parsing
|
||||
#include <kicad_plugin.h>
|
||||
#include <pcb_parser.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
#include <plugins/kicad/pcb_parser.h>
|
||||
#include <richio.h>
|
||||
|
||||
#include <class_board.h>
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
#include <tools/pcb_tool_base.h>
|
||||
#include <tools/pcb_actions.h>
|
||||
#include <tools/selection_tool.h>
|
||||
#include <kicad_plugin.h>
|
||||
#include <plugins/kicad/kicad_plugin.h>
|
||||
|
||||
#include "pcb_test_frame.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue