41 m_reportAllTrackErrors(
false ),
44 m_format( OUTPUT_FORMAT::REPORT ),
45 m_exitCodeViolations(
false ),
49 m_params.emplace_back(
new JOB_PARAM<int>(
"severity", &m_severity, m_severity ) );
51 m_params.emplace_back(
new JOB_PARAM<bool>(
"parity", &m_parity, m_parity ) );
52 m_params.emplace_back(
new JOB_PARAM<bool>(
"report_all_track_errors", &m_reportAllTrackErrors, m_reportAllTrackErrors ) );
58 return wxString::Format(
_(
"Perform PCB DRC" ) );
wxString GetDescription() override
An simple container class that lets us dispatch output jobs to kifaces.
Some functions to handle hotkeys in KiCad.
NLOHMANN_JSON_SERIALIZE_ENUM(JOB_PCB_DRC::UNITS, { { JOB_PCB_DRC::UNITS::INCHES, "in" }, { JOB_PCB_DRC::UNITS::MILLIMETERS, "mm" }, { JOB_PCB_DRC::UNITS::MILS, "mils" }, }) NLOHMANN_JSON_SERIALIZE_ENUM(JOB_PCB_DRC
#define REGISTER_JOB(job_name, title, face, T)