KiCad PCB EDA Suite
Loading...
Searching...
No Matches
merge_dispatch.h File Reference
#include <kicommon.h>
#include <diff_merge/diff_doc_kind.h>
#include <wx/string.h>
#include <memory>

Go to the source code of this file.

Classes

class  KICAD_DIFF::DIFF_CANVAS_CONTEXT
 Keeps the documents drawn on a pair of diff canvases alive. More...
 

Namespaces

namespace  KICAD_DIFF
 

Functions

wxString KICAD_DIFF::OlderFormatNotice (int aAncestorVersion, int aOursVersion, int aTheirsVersion, int aCurrentVersion)
 Empty when every side is already in the current file format.
 
int KICAD_DIFF::DispatchMerge (KIWAY &aKiway, DOC_KIND aKind, const wxString &aAncestor, const wxString &aOurs, const wxString &aTheirs, const wxString &aOutput, bool aInteractive, bool aSingleFile, REPORTER *aReporter)
 Run a 3-way document/library merge by calling the owning kiface's KIFACE_MERGE_DOCUMENT function export (chosen from aKind).
 
int KICAD_DIFF::DispatchOpenDiffDialog (KIWAY &aKiway, DOC_KIND aKind, const wxString &aFileA, const wxString &aFileB, const wxString &aLabelA, const wxString &aLabelB, wxWindow *aParent, REPORTER *aReporter=nullptr)
 Open DIALOG_KICAD_DIFF on two files by calling the owning kiface's KIFACE_OPEN_DIFF_DIALOG function export (chosen from aKind).
 
std::unique_ptr< DIFF_CANVAS_CONTEXT > KICAD_DIFF::DispatchAttachDiffCanvases (KIWAY &aKiway, DOC_KIND aKind, const wxString &aFileA, const wxString &aFileB, WIDGET_DIFF_CANVAS &aBefore, WIDGET_DIFF_CANVAS &aAfter, DOCUMENT_DIFF &aDiff, REPORTER *aReporter=nullptr)
 Diff two files in the owning kiface through its KIFACE_ATTACH_DIFF_CANVASES export.