KiCad PCB EDA Suite
|
#include <symbol_library.h>
#include <confirm.h>
#include <common.h>
#include <connection_graph.h>
#include <dialog_migrate_buses.h>
#include <dialog_symbol_remap.h>
#include <dialog_import_choose_project.h>
#include <eeschema_settings.h>
#include <id.h>
#include <kiface_base.h>
#include <kiplatform/app.h>
#include <lockfile.h>
#include <pgm_base.h>
#include <core/profile.h>
#include <project/project_file.h>
#include <project_rescue.h>
#include <project_sch.h>
#include <dialog_HTML_reporter_base.h>
#include <io/common/plugin_common_choose_project.h>
#include <reporter.h>
#include <richio.h>
#include <sch_bus_entry.h>
#include <sch_commit.h>
#include <sch_edit_frame.h>
#include <sch_io/kicad_legacy/sch_io_kicad_legacy.h>
#include <sch_file_versions.h>
#include <sch_line.h>
#include <sch_sheet.h>
#include <sch_sheet_path.h>
#include <schematic.h>
#include <settings/settings_manager.h>
#include <sim/simulator_frame.h>
#include <tool/actions.h>
#include <tool/tool_manager.h>
#include <tools/sch_editor_control.h>
#include <tools/sch_navigate_tool.h>
#include <trace_helpers.h>
#include <widgets/filedlg_import_non_kicad.h>
#include <widgets/wx_infobar.h>
#include <wildcards_and_files_ext.h>
#include <drawing_sheet/ds_data_model.h>
#include <wx/app.h>
#include <wx/ffile.h>
#include <wx/filedlg.h>
#include <wx/log.h>
#include <wx/richmsgdlg.h>
#include <wx/stdpaths.h>
#include <tools/sch_inspection_tool.h>
#include <tools/sch_selection_tool.h>
#include <paths.h>
#include <wx_filename.h>
#include <widgets/wx_progress_reporters.h>
#include <widgets/wx_html_report_box.h>
#include <kiplatform/io.h>
#include "widgets/filedlg_hook_save_project.h"
#include "save_project_utils.h"
Go to the source code of this file.
Functions | |
bool | PrepareSaveAsFiles (SCHEMATIC &aSchematic, SCH_SCREENS &aScreens, const wxFileName &aOldRoot, const wxFileName &aNewRoot, bool aSaveCopy, bool aCopySubsheets, bool aIncludeExternSheets, std::unordered_map< SCH_SCREEN *, wxString > &aFilenameMap, wxString &aErrorMsg) |
void | removeFile (const wxString &aFilename, wxArrayString &aUnremoved) |
bool PrepareSaveAsFiles | ( | SCHEMATIC & | aSchematic, |
SCH_SCREENS & | aScreens, | ||
const wxFileName & | aOldRoot, | ||
const wxFileName & | aNewRoot, | ||
bool | aSaveCopy, | ||
bool | aCopySubsheets, | ||
bool | aIncludeExternSheets, | ||
std::unordered_map< SCH_SCREEN *, wxString > & | aFilenameMap, | ||
wxString & | aErrorMsg ) |
Definition at line 852 of file eeschema/files-io.cpp.
References _, SCH_SCREENS::GetCount(), SCH_SCREEN::GetFileName(), SCH_SCREENS::GetScreen(), SCHEMATIC::Hierarchy(), SCHEMATIC::RootScreen(), SCH_SCREEN::SetFileName(), and tracePathsAndFiles.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and SCH_EDIT_FRAME::SaveProject().
void removeFile | ( | const wxString & | aFilename, |
wxArrayString & | aUnremoved ) |
Definition at line 1586 of file eeschema/files-io.cpp.
References traceAutoSave.
Referenced by SCH_EDIT_FRAME::CheckForAutoSaveFile(), and SCH_EDIT_FRAME::DeleteAutoSaveFile().