KiCad PCB EDA Suite
Loading...
Searching...
No Matches
diff_job_output.cpp File Reference
#include <diff_merge/diff_job_output.h>
#include <diff_merge/kicad_diff_types.h>
#include <diff_merge/diff_renderer_plotter.h>
#include <cli/exit_codes.h>
#include <eda_units.h>
#include <reporter.h>
#include <wx/translation.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  KICAD_DIFF
 

Functions

DIFF_EMIT_OPTIONS KICAD_DIFF::MakeEmitOptions (const JOB_DIFF_BASE &aJob, const wxString &aLabelA, const wxString &aLabelB)
 Build a DIFF_EMIT_OPTIONS pre-filled from the job's format, resolved output path and the supplied per-side labels.
 
int KICAD_DIFF::DiffExitCode (const DOCUMENT_DIFF &aResult)
 Map a computed diff onto its CLI exit code – SUCCESS when empty, otherwise ERR_RC_VIOLATIONS.
 
int KICAD_DIFF::EmitDiffResult (const DOCUMENT_DIFF &aResult, const DIFF_EMIT_OPTIONS &aOptions, int aDiffExitCode, REPORTER &aReporter)
 Emit a computed DOCUMENT_DIFF in the requested format.