diff options
author | saurabhb17 | 2020-02-26 16:20:48 +0530 |
---|---|---|
committer | GitHub | 2020-02-26 16:20:48 +0530 |
commit | b77f5d9d8097c38159c6f60917995d6af13bbe1c (patch) | |
tree | 1392c90227aeea231c1d86371131e04c40382918 /include/wildcards_and_files_ext.h | |
parent | dadc4d490966a24efe15b5cc533ef8695986048a (diff) | |
parent | 003d02608917e7a69d1a98438837e94ccf68352a (diff) | |
download | KiCad-eSim-b77f5d9d8097c38159c6f60917995d6af13bbe1c.tar.gz KiCad-eSim-b77f5d9d8097c38159c6f60917995d6af13bbe1c.tar.bz2 KiCad-eSim-b77f5d9d8097c38159c6f60917995d6af13bbe1c.zip |
Merge pull request #4 from FOSSEE/develop
merging dev into master
Diffstat (limited to 'include/wildcards_and_files_ext.h')
-rw-r--r-- | include/wildcards_and_files_ext.h | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/include/wildcards_and_files_ext.h b/include/wildcards_and_files_ext.h new file mode 100644 index 0000000..63b43fc --- /dev/null +++ b/include/wildcards_and_files_ext.h @@ -0,0 +1,110 @@ +/* + * This program source code file is part of KiCad, a free EDA CAD application. + * + * Copyright (C) 2013 Jean-Pierre Charras, jp.charras at wanadoo.fr + * Copyright (C) 2007-2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com> + * Copyright (C) 2008-2012 Wayne Stambaugh <stambaughw@verizon.net> + * Copyright (C) 1992-2013 KiCad Developers, see AUTHORS.txt for contributors. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, you may find one here: + * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html + * or you may search the http://www.gnu.org website for the version 2 license, + * or you may write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + */ + +/** + * The common library + * @file wildcards_and_files_ext.h + */ + +#ifndef INCLUDE_WILDCARDS_AND_FILES_EXT_H_ +#define INCLUDE_WILDCARDS_AND_FILES_EXT_H_ + +#include <wx/wx.h> + +/** + * File extension definitions. Please do not changes these. If a different + * file extension is needed, create a new definition in the application. + * Please note, just because they are defined as const doesn't guarantee + * that they cannot be changed. + * Mainly wild cards are most of time translated when displayed + */ + +extern const wxString SchematicSymbolFileExtension; +extern const wxString SchematicLibraryFileExtension; +extern const wxString SchematicBackupFileExtension; + +extern const wxString VrmlFileExtension; +extern const wxString ProjectFileExtension; +extern const wxString SchematicFileExtension; +extern const wxString NetlistFileExtension; +extern const wxString GerberFileExtension; +extern const wxString HtmlFileExtension; + +extern const wxString LegacyPcbFileExtension; +extern const wxString KiCadPcbFileExtension; +#define PcbFileExtension KiCadPcbFileExtension // symlink choice +extern const wxString PageLayoutDescrFileExtension; + +extern const wxString LegacyFootprintLibPathExtension; +extern const wxString PdfFileExtension; +extern const wxString MacrosFileExtension; +extern const wxString ComponentFileExtension; +extern const wxString DrillFileExtension; +extern const wxString SVGFileExtension; +extern const wxString ReportFileExtension; +extern const wxString FootprintPlaceFileExtension; +extern const wxString KiCadFootprintFileExtension; +extern const wxString KiCadFootprintLibPathExtension; +extern const wxString GedaPcbFootprintLibFileExtension; +extern const wxString EagleFootprintLibPathExtension; +extern const wxString ComponentFileExtensionWildcard; +extern const wxString PageLayoutDescrFileWildcard; +extern const wxString KiCadLib3DShapesPathExtension; + +/// Proper wxFileDialog wild card definitions. +extern const wxString SchematicSymbolFileWildcard; +extern const wxString SchematicLibraryFileWildcard; +extern const wxString ProjectFileWildcard; +extern const wxString SchematicFileWildcard; +extern const wxString BoardFileWildcard; +extern const wxString NetlistFileWildcard; +extern const wxString GerberFileWildcard; +extern const wxString HtmlFileWildcard; +extern const wxString LegacyPcbFileWildcard; +extern const wxString PcbFileWildcard; +extern const wxString EaglePcbFileWildcard; +extern const wxString PCadPcbFileWildcard; +extern const wxString PdfFileWildcard; +extern const wxString PSFileWildcard; +extern const wxString MacrosFileWildcard; +extern const wxString AllFilesWildcard; +extern const wxString ComponentFileWildcard; +extern const wxString DrillFileWildcard; +extern const wxString SVGFileWildcard; +extern const wxString ReportFileWildcard; +extern const wxString FootprintPlaceFileWildcard; +extern const wxString Shapes3DFileWildcard; +extern const wxString IDF3DFileWildcard; +extern const wxString DocModulesFileName; +extern const wxString LegacyFootprintLibPathWildcard; +extern const wxString KiCadFootprintLibFileWildcard; +extern const wxString KiCadFootprintLibPathWildcard; +extern const wxString GedaPcbFootprintLibFileWildcard; +extern const wxString EagleFootprintLibPathWildcard; +extern const wxString TextWildcard; + + +#endif // INCLUDE_WILDCARDS_AND_FILES_EXT_H_ |