KiCad PCB EDA Suite
|
#include <pgm_base.h>
#include <kiway.h>
#include <board_commit.h>
#include <design_block.h>
#include <design_block_lib_table.h>
#include <footprint.h>
#include <pad.h>
#include <widgets/pcb_design_block_pane.h>
#include <pcb_edit_frame.h>
#include <pcb_io/pcb_io.h>
#include <pcb_io/pcb_io_mgr.h>
#include <wx/choicdlg.h>
#include <wx/msgdlg.h>
#include <wx/textdlg.h>
#include <wildcards_and_files_ext.h>
#include <paths.h>
#include <env_paths.h>
#include <common.h>
#include <confirm.h>
#include <kidialog.h>
#include <locale_io.h>
#include <netinfo.h>
#include <tool/tool_manager.h>
#include <tools/pcb_selection_tool.h>
#include <dialogs/dialog_design_block_properties.h>
#include <nlohmann/json.hpp>
Go to the source code of this file.
Functions | |
bool | checkOverwriteDb (wxWindow *aFrame, wxString &libname, wxString &newName) |
bool | checkOverwriteDbLayout (wxWindow *aFrame, const LIB_ID &aLibId) |
bool checkOverwriteDb | ( | wxWindow * | aFrame, |
wxString & | libname, | ||
wxString & | newName | ||
) |
Definition at line 51 of file pcb_design_block_utils.cpp.
References _, and OKOrCancelDialog().
bool checkOverwriteDbLayout | ( | wxWindow * | aFrame, |
const LIB_ID & | aLibId | ||
) |
Definition at line 66 of file pcb_design_block_utils.cpp.
References _, LIB_ID::GetUniStringLibItemName(), and OKOrCancelDialog().
Referenced by PCB_EDIT_FRAME::SaveBoardToDesignBlock(), and PCB_EDIT_FRAME::SaveSelectionToDesignBlock().