KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eda_tools.cpp File Reference
#include <eda_tools.h>
#include <wx/textfile.h>

Go to the source code of this file.

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)
 

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.