54template <
typename JOB_T>
85 const wxString& aDefaultPath );
What an export to a given target will keep, approximate, drop, or block.
DIALOG_EXPORT_OLDER_VERSION_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Export for Older KiCad Version"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
bool GetDropInsteadOfApproximate() const
wxString GetTarget() const
void updateVariantChoice()
bool TransferDataFromWindow() override
wxString GetVariant() const
The variant to flatten, or empty for the base design.
DIALOG_EXPORT_OLDER_VERSION(wxWindow *aParent, const wxArrayString &aTargets, const wxArrayString &aVariants, const wxString &aDefaultPath)
The base frame for deriving all KiCad main window classes.
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
int ProcessJob(KIWAY::FACE_T aFace, JOB *aJob, REPORTER *aReporter=nullptr, PROGRESS_REPORTER *aProgressReporter=nullptr)
FACE_T
Known KIFACE implementations.
A wrapper for reporting to a wxString object.
std::function< bool(const DOWNGRADE_EXPORT_PASS &, DOWNGRADE_EXPORT_RESULT &)> DOWNGRADE_EXPORT_RUNNER
bool RunDowngradeJob(KIWAY &aKiway, KIWAY::FACE_T aFace, JOB_T &aJob, const DOWNGRADE_EXPORT_PASS &aPass, DOWNGRADE_EXPORT_RESULT &aResult)
Fill in the parts of a downgrade job that every editor sets the same way, run it, and hand back its r...
void RunExportForOlderVersion(EDA_BASE_FRAME *aFrame, const DOWNGRADE_EXPORT_RUNNER &aRun)
What one pass of an export is asked to do.
wxString m_variant
Variant to flatten, empty for the base design.
wxString m_target
Target release name.
bool m_dryRun
Classify only, write nothing.
bool m_dropInsteadOfApproximate
wxString m_folder
Destination, empty on a dry run.
What the flow needs back from a pass.
COMPATIBILITY_REPORT m_report
std::vector< wxString > m_variantsFound
A dry run fills these so the picker can offer them.
IbisParser parser & reporter