41 static const std::vector<DOWNGRADE_TARGET> targets = {
43 { wxT(
"KiCad 10.0" ), wxT(
"10.0" ), 20260206, 20260306, 20251024 },
44 { wxT(
"KiCad 9.0" ), wxT(
"9.0" ), 20241229, 20250114, 20241209 },
56 if( target.m_name.CmpNoCase( aNameOrId ) == 0 || target.m_id.CmpNoCase( aNameOrId ) == 0 )
71 names += wxString::Format( names.IsEmpty() ? wxT(
"'%s' ('%s')" ) : wxT(
", '%s' ('%s')" ), target.m_name,
const std::vector< DOWNGRADE_TARGET > & GetDowngradeTargets()
Supported downgrade targets, newest first.
const DOWNGRADE_TARGET * FindDowngradeTarget(const wxString &aNameOrId)
Match a user-supplied target string against name or stable id, case-insensitively.
wxString DowngradeTargetNames()
The valid target choices as one user-facing list, for error messages.
An older KiCad release we can export a project back to.
int m_schVersion
SEXPR_SCHEMATIC_FILE_VERSION for the target.
int m_boardVersion
SEXPR_BOARD_FILE_VERSION for the target.
wxString m_id
Stable machine key for CLI and jobsets, e.g. "10.0".
int m_symLibVersion
SEXPR_SYMBOL_LIB_FILE_VERSION for the target.
wxString m_name
User-facing name, e.g. "KiCad 10.0".