Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
7ae228d7
Commit
7ae228d7
authored
Jan 03, 2013
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add eagle *.lbr lib path extension for future use
parent
ab55b619
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
wildcards_and_files_ext.cpp
common/wildcards_and_files_ext.cpp
+4
-1
wildcards_and_files_ext.h
include/wildcards_and_files_ext.h
+3
-0
io_mgr.cpp
pcbnew/io_mgr.cpp
+4
-0
No files found.
common/wildcards_and_files_ext.cpp
View file @
7ae228d7
...
...
@@ -41,7 +41,6 @@ const wxString VrmlFileExtension( wxT( "wrl" ) );
const
wxString
ProjectFileExtension
(
wxT
(
"pro"
)
);
const
wxString
SchematicFileExtension
(
wxT
(
"sch"
)
);
const
wxString
NetlistFileExtension
(
wxT
(
"net"
)
);
const
wxString
LegacyFootprintLibPathExtension
(
wxT
(
"mod"
)
);
const
wxString
ComponentFileExtension
(
wxT
(
"cmp"
)
);
const
wxString
GerberFileExtension
(
wxT
(
"pho"
)
);
...
...
@@ -56,6 +55,9 @@ const wxString ReportFileExtension( wxT( "rpt" ) );
const
wxString
FootprintPlaceFileExtension
(
wxT
(
"pos"
)
);
const
wxString
KiCadFootprintLibPathExtension
(
wxT
(
"pretty"
)
);
///< KICAD PLUGIN libpath
const
wxString
LegacyFootprintLibPathExtension
(
wxT
(
"mod"
)
);
const
wxString
EagleFootprintLibPathExtension
(
wxT
(
"lbr"
)
);
const
wxString
KiCadFootprintFileExtension
(
wxT
(
"kicad_mod"
)
);
const
wxString
GedaPcbFootprintLibFileExtension
(
wxT
(
"fp"
)
);
...
...
@@ -75,6 +77,7 @@ const wxString PcbFileWildcard( _( "KiCad s-expr printed circuit board files (*.
const
wxString
KiCadFootprintLibFileWildcard
(
_
(
"KiCad footprint s-expre library file (*.kicad_mod)|*.kicad_mod"
)
);
const
wxString
KiCadFootprintLibPathWildcard
(
_
(
"KiCad footprint s-expre library path (*.pretty)|*.pretty"
)
);
const
wxString
LegacyFootprintLibPathWildcard
(
_
(
"Legacy footprint library file (*.mod)|*.mod"
)
);
const
wxString
EagleFootprintLibPathWildcard
(
_
(
"Eagle ver. 6.x XML library files (*.lbr)|*.lbr"
)
);
const
wxString
GedaPcbFootprintLibFileWildcard
(
_
(
"Geda PCB footprint library file (*.fp)|*.fp"
)
);
const
wxString
MacrosFileWildcard
(
_
(
"KiCad recorded macros (*.mcr)|*.mcr"
)
);
...
...
include/wildcards_and_files_ext.h
View file @
7ae228d7
...
...
@@ -67,6 +67,7 @@ extern const wxString FootprintPlaceFileExtension;
extern
const
wxString
KiCadFootprintFileExtension
;
extern
const
wxString
KiCadFootprintLibPathExtension
;
extern
const
wxString
GedaPcbFootprintLibFileExtension
;
extern
const
wxString
EagleFootprintLibPathExtension
;
/// Proper wxFileDialog wild card definitions.
extern
const
wxString
SchematicSymbolFileWildcard
;
...
...
@@ -95,5 +96,7 @@ extern const wxString LegacyFootprintLibPathWildcard;
extern
const
wxString
KiCadFootprintLibFileWildcard
;
extern
const
wxString
KiCadFootprintLibPathWildcard
;
extern
const
wxString
GedaPcbFootprintLibFileWildcard
;
extern
const
wxString
EagleFootprintLibPathWildcard
;
#endif // INCLUDE_WILDCARDS_AND_FILES_EXT_H_
pcbnew/io_mgr.cpp
View file @
7ae228d7
...
...
@@ -172,6 +172,10 @@ IO_MGR::PCB_FILE_T IO_MGR::GuessPluginTypeFromLibPath( const wxString& aLibPath
{
ret
=
GEDA_PCB
;
}
else
if
(
fn
.
GetExt
()
==
EagleFootprintLibPathExtension
)
{
ret
=
EAGLE
;
}
else
{
// Although KICAD PLUGIN uses libpaths with fixed extension of
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment