KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_export_older_version.h File Reference
#include <functional>
#include <vector>
#include <compatibility_report.h>
#include <kiway.h>
#include <reporter.h>
#include <dialogs/dialog_export_older_version_base.h>

Go to the source code of this file.

Classes

struct  DOWNGRADE_EXPORT_PASS
 What one pass of an export is asked to do. More...
 
struct  DOWNGRADE_EXPORT_RESULT
 What the flow needs back from a pass. More...
 
class  DIALOG_EXPORT_OLDER_VERSION
 

Typedefs

using DOWNGRADE_EXPORT_RUNNER = std::function<bool( const DOWNGRADE_EXPORT_PASS&, DOWNGRADE_EXPORT_RESULT& )>
 

Functions

template<typename JOB_T>
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 report.
 
void RunExportForOlderVersion (EDA_BASE_FRAME *aFrame, const DOWNGRADE_EXPORT_RUNNER &aRun)
 

Typedef Documentation

◆ DOWNGRADE_EXPORT_RUNNER

Definition at line 76 of file dialog_export_older_version.h.

Function Documentation

◆ RunDowngradeJob()

template<typename JOB_T>
bool RunDowngradeJob ( KIWAY & aKiway,
KIWAY::FACE_T aFace,
JOB_T & aJob,
const DOWNGRADE_EXPORT_PASS & aPass,
DOWNGRADE_EXPORT_RESULT & aResult )

◆ RunExportForOlderVersion()