KiCad PCB EDA Suite
wildcards_and_files_ext.h
Go to the documentation of this file.
1 /*
2  * This program source code file is part of KiCad, a free EDA CAD application.
3  *
4  * Copyright (C) 2013 Jean-Pierre Charras, jp.charras at wanadoo.fr
5  * Copyright (C) 2007-2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
6  * Copyright (C) 2008 Wayne Stambaugh <stambaughw@gmail.com>
7  * Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors.
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; either version 2
12  * of the License, or (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, you may find one here:
21  * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
22  * or you may search the http://www.gnu.org website for the version 2 license,
23  * or you may write to the Free Software Foundation, Inc.,
24  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
25  */
26 
32 #ifndef INCLUDE_WILDCARDS_AND_FILES_EXT_H_
33 #define INCLUDE_WILDCARDS_AND_FILES_EXT_H_
34 
35 #include <wx/wx.h>
36 
49 // Do NOT use wxString for these. wxStrings are not thread-safe, even when const. (For the
50 // curious the UTF8 cacheing strategy puts iterators in a linked list. Insertion and removal
51 // from the linked list is not thread-safe.)
52 
53 extern const std::string SchematicSymbolFileExtension;
54 extern const std::string SchematicLibraryFileExtension;
55 extern const std::string SchematicBackupFileExtension;
56 
57 extern const std::string VrmlFileExtension;
58 extern const std::string ProjectFileExtension;
59 extern const std::string SchematicFileExtension;
60 extern const std::string NetlistFileExtension;
61 extern const std::string GerberFileExtension;
62 extern const std::string GerberJobFileExtension;
63 extern const std::string HtmlFileExtension;
64 
65 extern const std::string LegacyPcbFileExtension;
66 extern const std::string KiCadPcbFileExtension;
67 #define PcbFileExtension KiCadPcbFileExtension // symlink choice
68 extern const std::string PageLayoutDescrFileExtension;
69 
70 extern const std::string LegacyFootprintLibPathExtension;
71 extern const std::string PdfFileExtension;
72 extern const std::string MacrosFileExtension;
73 extern const std::string ComponentFileExtension;
74 extern const std::string DrillFileExtension;
75 extern const std::string SVGFileExtension;
76 extern const std::string ReportFileExtension;
77 extern const std::string FootprintPlaceFileExtension;
78 extern const std::string KiCadFootprintFileExtension;
79 extern const std::string KiCadFootprintLibPathExtension;
80 extern const std::string GedaPcbFootprintLibFileExtension;
81 extern const std::string EagleFootprintLibPathExtension;
82 extern const std::string ComponentFileExtension;
83 extern const std::string PageLayoutDescrFileExtension;
84 extern const std::string KiCadLib3DShapesPathExtension;
85 extern const std::string SpecctraDsnFileExtension;
86 extern const std::string IpcD356FileExtension;
87 
103 extern const wxString AllFilesWildcard;
104 
105 extern wxString ComponentFileWildcard();
106 extern wxString PageLayoutDescrFileWildcard();
107 extern wxString SchematicSymbolFileWildcard();
108 extern wxString SchematicLibraryFileWildcard();
109 extern wxString ProjectFileWildcard();
110 extern wxString SchematicFileWildcard();
111 extern wxString BoardFileWildcard();
112 extern wxString NetlistFileWildcard();
113 extern wxString GerberFileWildcard();
114 extern wxString HtmlFileWildcard();
115 extern wxString CsvFileWildcard();
116 extern wxString LegacyPcbFileWildcard();
117 extern wxString PcbFileWildcard();
118 extern wxString EaglePcbFileWildcard();
119 extern wxString EagleSchematicFileWildcard();
120 extern wxString EagleFilesWildcard();
121 extern wxString PCadPcbFileWildcard();
122 extern wxString PdfFileWildcard();
123 extern wxString PSFileWildcard();
124 extern wxString MacrosFileWildcard();
125 extern wxString ComponentFileWildcard();
126 extern wxString DrillFileWildcard();
127 extern wxString SVGFileWildcard();
128 extern wxString ReportFileWildcard();
129 extern wxString FootprintPlaceFileWildcard();
130 extern wxString Shapes3DFileWildcard();
131 extern wxString IDF3DFileWildcard();
132 extern wxString DocModulesFileName();
133 extern wxString LegacyFootprintLibPathWildcard();
134 extern wxString KiCadFootprintLibFileWildcard();
135 extern wxString KiCadFootprintLibPathWildcard();
136 extern wxString GedaPcbFootprintLibFileWildcard();
137 extern wxString EagleFootprintLibPathWildcard();
138 extern wxString TextFileWildcard();
139 extern wxString ModLegacyExportFileWildcard();
140 extern wxString ErcFileWildcard();
141 extern wxString SpiceLibraryFileWildcard();
142 extern wxString SpiceNetlistFileWildcard();
143 extern wxString CadstarNetlistFileWildcard();
144 extern wxString EquFileWildcard();
145 extern wxString ZipFileWildcard();
146 extern wxString GencadFileWildcard();
147 extern wxString DxfFileWildcard();
148 extern wxString GerberJobFileWildcard();
149 extern wxString SpecctraDsnFileWildcard();
150 extern wxString IpcD356FileWildcard();
151 extern wxString WorkbookFileWildcard();
152 extern wxString PngFileWildcard();
153 
158 #endif // INCLUDE_WILDCARDS_AND_FILES_EXT_H_
const std::string SchematicBackupFileExtension
const std::string NetlistFileExtension
wxString GerberFileWildcard()
wxString SchematicSymbolFileWildcard()
wxString PageLayoutDescrFileWildcard()
const std::string LegacyFootprintLibPathExtension
wxString SchematicFileWildcard()
wxString EaglePcbFileWildcard()
wxString EagleFootprintLibPathWildcard()
const std::string VrmlFileExtension
wxString SVGFileWildcard()
wxString ComponentFileWildcard()
const std::string KiCadFootprintFileExtension
wxString SpiceNetlistFileWildcard()
const std::string ProjectFileExtension
wxString PdfFileWildcard()
const std::string LegacyPcbFileExtension
wxString DxfFileWildcard()
wxString SchematicLibraryFileWildcard()
wxString ZipFileWildcard()
const std::string SchematicSymbolFileExtension
const std::string EagleFootprintLibPathExtension
wxString CsvFileWildcard()
const std::string ComponentFileExtension
const std::string GerberFileExtension
const std::string KiCadPcbFileExtension
const std::string MacrosFileExtension
wxString LegacyFootprintLibPathWildcard()
wxString EquFileWildcard()
wxString DocModulesFileName()
const std::string HtmlFileExtension
const wxString AllFilesWildcard
wxString LegacyPcbFileWildcard()
wxString PSFileWildcard()
wxString GencadFileWildcard()
wxString ReportFileWildcard()
const std::string SchematicLibraryFileExtension
wxString NetlistFileWildcard()
wxString HtmlFileWildcard()
const std::string SchematicFileExtension
wxString ModLegacyExportFileWildcard()
const std::string GerberJobFileExtension
wxString BoardFileWildcard()
const std::string IpcD356FileExtension
const std::string PdfFileExtension
wxString DrillFileWildcard()
const std::string SpecctraDsnFileExtension
const std::string PageLayoutDescrFileExtension
wxString IpcD356FileWildcard()
wxString PngFileWildcard()
wxString ProjectFileWildcard()
wxString ErcFileWildcard()
wxString KiCadFootprintLibPathWildcard()
wxString GerberJobFileWildcard()
wxString EagleSchematicFileWildcard()
const std::string ReportFileExtension
wxString FootprintPlaceFileWildcard()
wxString Shapes3DFileWildcard()
wxString SpiceLibraryFileWildcard()
const std::string SVGFileExtension
wxString PcbFileWildcard()
wxString TextFileWildcard()
const std::string GedaPcbFootprintLibFileExtension
wxString SpecctraDsnFileWildcard()
wxString IDF3DFileWildcard()
const std::string FootprintPlaceFileExtension
wxString EagleFilesWildcard()
wxString MacrosFileWildcard()
wxString WorkbookFileWildcard()
wxString PCadPcbFileWildcard()
const std::string KiCadFootprintLibPathExtension
wxString KiCadFootprintLibFileWildcard()
const std::string KiCadLib3DShapesPathExtension
wxString GedaPcbFootprintLibFileWildcard()
const std::string DrillFileExtension
wxString CadstarNetlistFileWildcard()