|
KiCad PCB EDA Suite
|
#include <confirm.h>#include <footprint_library_adapter.h>#include <dialogs/html_message_box.h>#include <kiway.h>#include <lib_id.h>#include <richio.h>#include <string_utils.h>#include <cvpcb_mainframe.h>#include <fp_conflict_assignment_selector.h>#include <project_pcb.h>#include <wx/msgdlg.h>Go to the source code of this file.
Functions | |
| static int | guessNickname (FOOTPRINT_LIBRARY_ADAPTER *aAdapter, LIB_ID *aFootprintId) |
| Return true if the resultant LIB_ID has a certain nickname. | |
|
static |
Return true if the resultant LIB_ID has a certain nickname.
The guess is only made if this footprint resides in only one library.
Definition at line 47 of file readwrite_dlgs.cpp.
References FOOTPRINT_LIBRARY_ADAPTER::GetFootprintNames(), LIB_ID::GetLibItemName(), LIB_ID::GetLibNickname(), LIBRARY_MANAGER_ADAPTER::GetLibraryNames(), name, LIB_ID::SetLibNickname(), and UTF8::size().
Referenced by CVPCB_MAINFRAME::readNetListAndFpFiles().