KiCad PCB EDA Suite
|
#include <pgm_base.h>
#include <kiway.h>
#include <design_block.h>
#include <design_block_lib_table.h>
#include <sch_design_block_pane.h>
#include <sch_edit_frame.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 <kidialog.h>
#include <confirm.h>
#include <tool/tool_manager.h>
#include <sch_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 | checkOverwriteDbSchematic (wxWindow *aFrame, const LIB_ID &aLibId) |
bool checkOverwriteDb | ( | wxWindow * | aFrame, |
wxString & | libname, | ||
wxString & | newName | ||
) |
Definition at line 44 of file sch_design_block_utils.cpp.
References _, and OKOrCancelDialog().
Referenced by PCB_EDIT_FRAME::SaveBoardAsDesignBlock(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), PCB_EDIT_FRAME::SaveSelectionAsDesignBlock(), and SCH_EDIT_FRAME::SaveSheetAsDesignBlock().
bool checkOverwriteDbSchematic | ( | wxWindow * | aFrame, |
const LIB_ID & | aLibId | ||
) |
Definition at line 59 of file sch_design_block_utils.cpp.
References _, LIB_ID::GetUniStringLibItemName(), and OKOrCancelDialog().
Referenced by SCH_EDIT_FRAME::SaveSelectionToDesignBlock(), and SCH_EDIT_FRAME::SaveSheetToDesignBlock().