KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
pcb_design_block_utils.cpp File Reference
#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)
 

Function Documentation

◆ checkOverwriteDb()

bool checkOverwriteDb ( wxWindow *  aFrame,
wxString &  libname,
wxString &  newName 
)

Definition at line 51 of file pcb_design_block_utils.cpp.

References _, and OKOrCancelDialog().

◆ checkOverwriteDbLayout()

bool checkOverwriteDbLayout ( wxWindow *  aFrame,
const LIB_ID aLibId 
)