51 changed files with 266 additions and 268 deletions
-
1common/CMakeLists.txt
-
6common/fp_lib_table.cpp
-
58common/io/io_base.cpp
-
2eeschema/dialogs/panel_sym_lib_table.cpp
-
2eeschema/sch_io/altium/sch_io_altium.cpp
-
13eeschema/sch_io/altium/sch_io_altium.h
-
4eeschema/sch_io/cadstar/sch_io_cadstar_archive.cpp
-
7eeschema/sch_io/cadstar/sch_io_cadstar_archive.h
-
5eeschema/sch_io/database/sch_io_database.h
-
2eeschema/sch_io/eagle/sch_io_eagle.cpp
-
2eeschema/sch_io/eagle/sch_io_eagle.h
-
2eeschema/sch_io/easyeda/sch_io_easyeda.h
-
2eeschema/sch_io/easyedapro/sch_io_easyedapro.cpp
-
2eeschema/sch_io/easyedapro/sch_io_easyedapro.h
-
2eeschema/sch_io/http_lib/sch_io_http_lib.h
-
6eeschema/sch_io/kicad_legacy/sch_io_kicad_legacy.cpp
-
10eeschema/sch_io/kicad_legacy/sch_io_kicad_legacy.h
-
6eeschema/sch_io/kicad_sexpr/sch_io_kicad_sexpr.cpp
-
10eeschema/sch_io/kicad_sexpr/sch_io_kicad_sexpr.h
-
24eeschema/sch_io/sch_io.cpp
-
59eeschema/sch_io/sch_io.h
-
2eeschema/symbol_editor/symbol_editor_import_export.cpp
-
8eeschema/symbol_lib_table.cpp
-
2eeschema/symbol_library.cpp
-
92include/io/io_base.h
-
2pcbnew/dialogs/panel_fp_lib_table.cpp
-
2pcbnew/footprint_edit_frame.h
-
6pcbnew/footprint_libraries_utils.cpp
-
4pcbnew/pcb_io/altium/pcb_io_altium_designer.cpp
-
4pcbnew/pcb_io/altium/pcb_io_altium_designer.h
-
4pcbnew/pcb_io/cadstar/pcb_io_cadstar_archive.cpp
-
4pcbnew/pcb_io/cadstar/pcb_io_cadstar_archive.h
-
11pcbnew/pcb_io/eagle/pcb_io_eagle.cpp
-
6pcbnew/pcb_io/eagle/pcb_io_eagle.h
-
2pcbnew/pcb_io/easyeda/pcb_io_easyeda_plugin.cpp
-
4pcbnew/pcb_io/easyeda/pcb_io_easyeda_plugin.h
-
2pcbnew/pcb_io/easyedapro/pcb_io_easyedapro.h
-
4pcbnew/pcb_io/geda/pcb_io_geda.cpp
-
6pcbnew/pcb_io/geda/pcb_io_geda.h
-
2pcbnew/pcb_io/ipc2581/pcb_io_ipc2581.h
-
6pcbnew/pcb_io/kicad_legacy/pcb_io_kicad_legacy.cpp
-
6pcbnew/pcb_io/kicad_legacy/pcb_io_kicad_legacy.h
-
6pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.cpp
-
10pcbnew/pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.h
-
26pcbnew/pcb_io/pcb_io.cpp
-
54pcbnew/pcb_io/pcb_io.h
-
2pcbnew/pcb_io/pcb_io_mgr.cpp
-
2pcbnew/python/examples/createFPC40.py
-
16pcbnew/python/swig/footprint.i
-
4tools/lib_convert.py
-
10tools/tests/test_kicad_plugin.py
@ -0,0 +1,58 @@ |
|||
/*
|
|||
* This program source code file is part of KiCad, a free EDA CAD application. |
|||
* |
|||
* Copyright (C) 2023 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 <io/io_base.h>
|
|||
#include <ki_exception.h>
|
|||
|
|||
#define FMT_UNIMPLEMENTED wxT( "IO interface \"%s\" does not implement the \"%s\" function." )
|
|||
#define NOT_IMPLEMENTED( aCaller ) \
|
|||
THROW_IO_ERROR( wxString::Format( FMT_UNIMPLEMENTED, \ |
|||
GetName(), \ |
|||
wxString::FromUTF8( aCaller ) ) ); |
|||
|
|||
|
|||
void IO_BASE::CreateLibrary( const wxString& aLibraryPath, const STRING_UTF8_MAP* aProperties ) |
|||
{ |
|||
NOT_IMPLEMENTED( __FUNCTION__ ); |
|||
} |
|||
|
|||
|
|||
bool IO_BASE::DeleteLibrary( const wxString& aLibraryPath, const STRING_UTF8_MAP* aProperties ) |
|||
{ |
|||
NOT_IMPLEMENTED( __FUNCTION__ ); |
|||
} |
|||
|
|||
|
|||
bool IO_BASE::IsLibraryWritable( const wxString& aLibraryPath ) |
|||
{ |
|||
NOT_IMPLEMENTED( __FUNCTION__ ); |
|||
} |
|||
|
|||
void IO_BASE::GetLibraryOptions( STRING_UTF8_MAP* aListToAppendTo ) const |
|||
{ |
|||
// No global options to append
|
|||
} |
|||
|
|||
|
|||
bool IO_BASE::CanReadLibrary( const wxString& aFileName ) const |
|||
{ |
|||
// TODO: Push file extension based checks from PCB_IO and SCH_IO into this function
|
|||
return false; |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue