KiCad PCB EDA Suite
Loading...
Searching...
No Matches
kiface_ids.h File Reference

Go to the source code of this file.

Enumerations

enum  KIFACE_ADDR_ID : int {
  KIFACE_ID_INVALID , KIFACE_FOOTPRINT_LIBRARY_ADAPTER , KIFACE_FILTER_FOOTPRINTS , KIFACE_LOAD_SCHEMATIC ,
  KIFACE_NETLIST_SCHEMATIC , KIFACE_MERGE_DOCUMENT , KIFACE_OPEN_DIFF_DIALOG , KIFACE_TEST_FOOTPRINT_LINK ,
  KIFACE_TEST_FOOTPRINT_LINK_NO_LIBRARY , KIFACE_TEST_FOOTPRINT_LINK_LIBRARY_NOT_ENABLED , KIFACE_TEST_FOOTPRINT_LINK_NO_FOOTPRINT
}
 IDs of objects that may be returned by KIFACE::IfaceOrAddress. More...
 

Enumeration Type Documentation

◆ KIFACE_ADDR_ID

enum KIFACE_ADDR_ID : int

IDs of objects that may be returned by KIFACE::IfaceOrAddress.

Enumerator
KIFACE_ID_INVALID 
KIFACE_FOOTPRINT_LIBRARY_ADAPTER 
KIFACE_FILTER_FOOTPRINTS 

Function pointer type: wxString (*)(const wxString& aFilterJson) Input JSON: {"pin_count": N, "filters": ["pattern1", ...], "zero_filters": bool, "max_results": N} Output JSON: ["lib:footprint1", "lib:footprint2", ...].

KIFACE_LOAD_SCHEMATIC 
KIFACE_NETLIST_SCHEMATIC 
KIFACE_MERGE_DOCUMENT 

int (*)( int aKind, const wxString& aAncestor, const wxString& aOurs, const wxString& aTheirs, const wxString& aOutput, bool aInteractive, REPORTER* aReporter ) aKind is a KICAD_DIFF::DOC_KIND.

Runs a 3-way document/library merge in the kiface and returns a CLI exit code. Replaces the former merge JOBs.

KIFACE_OPEN_DIFF_DIALOG 

int (*)( int aKind, const wxString& aFileA, const wxString& aFileB, const wxString& aLabelA, const wxString& aLabelB, wxWindow* aParent, REPORTER* aReporter ) aKind is a KICAD_DIFF::DOC_KIND.

Loads the two files and opens DIALOG_KICAD_DIFF modally. Replaces the former JOB_OPEN_DIFF_DIALOG.

KIFACE_TEST_FOOTPRINT_LINK 
KIFACE_TEST_FOOTPRINT_LINK_NO_LIBRARY 
KIFACE_TEST_FOOTPRINT_LINK_LIBRARY_NOT_ENABLED 
KIFACE_TEST_FOOTPRINT_LINK_NO_FOOTPRINT 

Definition at line 26 of file kiface_ids.h.