KiCad PCB EDA Suite
|
#include <design_block_io.h>
Public Types | |
enum | DESIGN_BLOCK_FILE_T { DESIGN_BLOCK_FILE_UNKNOWN = 0 , KICAD_SEXP , FILE_TYPE_NONE } |
Static Public Member Functions | |
static const wxString | ShowType (DESIGN_BLOCK_FILE_T aFileType) |
static DESIGN_BLOCK_IO * | FindPlugin (DESIGN_BLOCK_FILE_T aFileType) |
static DESIGN_BLOCK_FILE_T | EnumFromStr (const wxString &aFileType) |
static DESIGN_BLOCK_FILE_T | GuessPluginTypeFromLibPath (const wxString &aLibPath, int aCtl=0) |
static bool | ConvertLibrary (std::map< std::string, UTF8 > *aOldFileProps, const wxString &aOldFilePath, const wxString &aNewFilePath) |
Convert a design block library to the latest KiCad format. | |
Definition at line 35 of file design_block_io.h.
Enumerator | |
---|---|
DESIGN_BLOCK_FILE_UNKNOWN | 0 is not a legal menu id on Mac |
KICAD_SEXP | S-expression KiCad file format. |
FILE_TYPE_NONE |
Definition at line 38 of file design_block_io.h.
|
static |
Convert a design block library to the latest KiCad format.
Definition at line 83 of file design_block_io.cpp.
References FILE_TYPE_NONE, FindPlugin(), GuessPluginTypeFromLibPath(), and KICAD_SEXP.
Referenced by PANEL_DESIGN_BLOCK_LIB_TABLE::onMigrateLibraries().
|
static |
Definition at line 54 of file design_block_io.cpp.
References _, DESIGN_BLOCK_FILE_UNKNOWN, and KICAD_SEXP.
Referenced by DESIGN_BLOCK_GRID_TRICKS::optionsEditor(), and DESIGN_BLOCK_LIB_TABLE_ROW::SetType().
|
static |
Definition at line 63 of file design_block_io.cpp.
References KICAD_SEXP.
Referenced by ConvertLibrary(), SCH_EDIT_FRAME::createNewDesignBlockLibrary(), DESIGN_BLOCK_LIB_TABLE::FindRow(), GuessPluginTypeFromLibPath(), DESIGN_BLOCK_GRID_TRICKS::optionsEditor(), and PANEL_DESIGN_BLOCK_LIB_TABLE::populatePluginList().
|
static |
Definition at line 74 of file design_block_io.cpp.
References FILE_TYPE_NONE, FindPlugin(), KICAD_SEXP, and KICTL_NONKICAD_ONLY.
Referenced by SCH_EDIT_FRAME::AddDesignBlockLibrary(), ConvertLibrary(), and DESIGN_BLOCK_LIB_TABLE_GRID::SetValue().
|
static |
Definition at line 43 of file design_block_io.cpp.
References _, and KICAD_SEXP.
Referenced by SCH_EDIT_FRAME::AddDesignBlockLibrary(), PANEL_DESIGN_BLOCK_LIB_TABLE::browseLibrariesHandler(), DESIGN_BLOCK_LIB_TABLE_ROW::GetType(), PANEL_DESIGN_BLOCK_LIB_TABLE::onMigrateLibraries(), PANEL_DESIGN_BLOCK_LIB_TABLE::PANEL_DESIGN_BLOCK_LIB_TABLE(), and DESIGN_BLOCK_LIB_TABLE_GRID::SetValue().