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

Go to the source code of this file.

Namespaces

namespace  KICAD_DIFF
 

Enumerations

enum class  KICAD_DIFF::DOC_KIND {
  KICAD_DIFF::UNKNOWN , KICAD_DIFF::PCB , KICAD_DIFF::SCH , KICAD_DIFF::SYM_LIB ,
  KICAD_DIFF::FP_LIB , KICAD_DIFF::FOOTPRINT
}
 Document type a diff/merge entry point should route to, derived from a file path's extension. More...
 

Functions

DOC_KIND KICAD_DIFF::DocKindFromExtension (const wxString &aPath)
 Map a path's extension to a DOC_KIND (.kicad_pcb -> PCB, .kicad_sch -> SCH, .kicad_sym -> SYM_LIB, .kicad_mod -> FOOTPRINT; anything else -> UNKNOWN).