Remove the cli pcb/sch export cpps that arent needed

This commit is contained in:
Marek Roszko 2022-12-11 22:07:00 -05:00
parent bc8366cd95
commit 59a6d14242
5 changed files with 2 additions and 74 deletions

View File

@ -27,12 +27,10 @@ set( KICAD_SRCS
cli/command_export_pcb_step.cpp cli/command_export_pcb_step.cpp
cli/command_export_pcb_svg.cpp cli/command_export_pcb_svg.cpp
cli/command_fp_upgrade.cpp cli/command_fp_upgrade.cpp
cli/command_pcb_export.cpp
cli/command_export_sch_pythonbom.cpp cli/command_export_sch_pythonbom.cpp
cli/command_export_sch_netlist.cpp cli/command_export_sch_netlist.cpp
cli/command_export_sch_pdf.cpp cli/command_export_sch_pdf.cpp
cli/command_export_sch_svg.cpp cli/command_export_sch_svg.cpp
cli/command_sch_export.cpp
cli/command_sym_upgrade.cpp cli/command_sym_upgrade.cpp
dialogs/dialog_template_selector_base.cpp dialogs/dialog_template_selector_base.cpp
dialogs/dialog_template_selector.cpp dialogs/dialog_template_selector.cpp

View File

@ -1,33 +0,0 @@
/*
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2022 Mark Roszko <mark.roszko@gmail.com>
* Copyright (C) 1992-2022 KiCad Developers, see AUTHORS.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 as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "command_pcb_export.h"
CLI::EXPORT_PCB_COMMAND::EXPORT_PCB_COMMAND() : COMMAND( "export" )
{
}
int CLI::EXPORT_PCB_COMMAND::Perform( KIWAY& aKiway )
{
std::cout << m_argParser;
return 1;
}

View File

@ -27,9 +27,7 @@ namespace CLI
{ {
struct EXPORT_PCB_COMMAND : public COMMAND struct EXPORT_PCB_COMMAND : public COMMAND
{ {
EXPORT_PCB_COMMAND(); EXPORT_PCB_COMMAND() : COMMAND( "export" ) {}
int Perform( KIWAY& aKiway ) override;
}; };
} }

View File

@ -1,33 +0,0 @@
/*
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2022 Mark Roszko <mark.roszko@gmail.com>
* Copyright (C) 1992-2022 KiCad Developers, see AUTHORS.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 as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "command_sch_export.h"
CLI::EXPORT_SCH_COMMAND::EXPORT_SCH_COMMAND() : COMMAND( "export" )
{
}
int CLI::EXPORT_SCH_COMMAND::Perform( KIWAY& aKiway )
{
std::cout << m_argParser;
return 1;
}

View File

@ -27,9 +27,7 @@ namespace CLI
{ {
struct EXPORT_SCH_COMMAND : public COMMAND struct EXPORT_SCH_COMMAND : public COMMAND
{ {
EXPORT_SCH_COMMAND(); EXPORT_SCH_COMMAND() : COMMAND( "export" ) {}
int Perform( KIWAY& aKiway ) override;
}; };
} }