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

Enums and utilities for different EDA tools. More...

#include <wx/filename.h>

Go to the source code of this file.

Enumerations

enum class  EDA_TOOLS { EAGLE }
 Enumeration of tools. More...
 

Functions

bool IsFileFromEDATool (const wxFileName &aFileName, const EDA_TOOLS aTool)
 Check if aFileName is a aTool file As an example, can be used to check if a .sch file is an EAGLE file (may be a legacy KICAD file)
 

Detailed Description

Enums and utilities for different EDA tools.

Definition in file eda_tools.h.

Enumeration Type Documentation

◆ EDA_TOOLS

enum class EDA_TOOLS
strong

Enumeration of tools.

Enumerator
EAGLE 

Definition at line 40 of file eda_tools.h.

Function Documentation

◆ IsFileFromEDATool()

bool IsFileFromEDATool ( const wxFileName &  aFileName,
const EDA_TOOLS  aTool 
)

Check if aFileName is a aTool file As an example, can be used to check if a .sch file is an EAGLE file (may be a legacy KICAD file)

Parameters
aFileNamename of file to check. Must be given with full path
aToolEDA tool
Returns
true if the file is an EDA_TOOL file type, false if not or file does not exist

Definition at line 29 of file eda_tools.cpp.

References EAGLE.