KiCad PCB EDA Suite
Loading...
Searching...
No Matches
save_project_utils.h
Go to the documentation of this file.
1#ifndef SAVE_PROJECT_UTILS_H
2#define SAVE_PROJECT_UTILS_H
3
4#include <unordered_map>
5#include <wx/filename.h>
6
7class SCHEMATIC;
8class SCH_SCREEN;
9class SCH_SCREENS;
10
11bool PrepareSaveAsFiles( SCHEMATIC& aSchematic, SCH_SCREENS& aScreens,
12 const wxFileName& aOldRoot, const wxFileName& aNewRoot,
13 bool aSaveCopy, bool aCopySubsheets, bool aIncludeExternSheets,
14 std::unordered_map<SCH_SCREEN*, wxString>& aFilenameMap,
15 wxString& aErrorMsg );
16
17#endif
Holds all the data relating to one schematic.
Definition schematic.h:88
Container class that holds multiple SCH_SCREEN objects in a hierarchy.
Definition sch_screen.h:758
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)