21#ifndef SYM_ITEM_DIFF_H
22#define SYM_ITEM_DIFF_H
46std::vector<LIB_ELEMENT>
DiffSymbolElements(
const LIB_SYMBOL* aBefore,
const LIB_SYMBOL* aAfter );
56std::unique_ptr<LIB_SYMBOL>
CombineSymbolEdits(
const LIB_SYMBOL& aAncestor,
const LIB_SYMBOL& aOurs,
57 const LIB_SYMBOL& aTheirs,
const ITEM_CHANGE& aOurChange,
A base class for most all the KiCad significant classes used in schematics and boards.
Define a library symbol object.
std::vector< LIB_ELEMENT > DiffSymbolElements(const LIB_SYMBOL *aBefore, const LIB_SYMBOL *aAfter)
Compares the elements of two library symbols.
std::unique_ptr< LIB_SYMBOL > CombineSymbolEdits(const LIB_SYMBOL &aAncestor, const LIB_SYMBOL &aOurs, const LIB_SYMBOL &aTheirs, const ITEM_CHANGE &aOurChange, const ITEM_CHANGE &aTheirChange)
Combine two edits of one library symbol when neither can lose anything.
One change record on a single item.