You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

103 lines
4.2 KiB

  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-2012 Wayne Stambaugh <stambaughw@verizon.net>
  7. * Copyright (C) 1992-2013 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. /**
  27. * The common library
  28. * @file wildcards_and_files_ext.h
  29. */
  30. #ifndef INCLUDE_WILDCARDS_AND_FILES_EXT_H_
  31. #define INCLUDE_WILDCARDS_AND_FILES_EXT_H_
  32. #include <wx/wx.h>
  33. /**
  34. * File extension definitions. Please do not changes these. If a different
  35. * file extension is needed, create a new definition in the application.
  36. * Please note, just because they are defined as const doesn't guarantee
  37. * that they cannot be changed.
  38. * Mainly wild cards are most of time translated when displayed
  39. */
  40. extern const wxString SchematicSymbolFileExtension;
  41. extern const wxString SchematicLibraryFileExtension;
  42. extern const wxString SchematicBackupFileExtension;
  43. extern const wxString VrmlFileExtension;
  44. extern const wxString ProjectFileExtension;
  45. extern const wxString SchematicFileExtension;
  46. extern const wxString NetlistFileExtension;
  47. extern const wxString GerberFileExtension;
  48. extern const wxString LegacyPcbFileExtension;
  49. extern const wxString KiCadPcbFileExtension;
  50. #define PcbFileExtension KiCadPcbFileExtension // symlink choice
  51. extern const wxString LegacyFootprintLibPathExtension;
  52. extern const wxString PdfFileExtension;
  53. extern const wxString MacrosFileExtension;
  54. extern const wxString ComponentFileExtension;
  55. extern const wxString DrillFileExtension;
  56. extern const wxString SVGFileExtension;
  57. extern const wxString ReportFileExtension;
  58. extern const wxString FootprintPlaceFileExtension;
  59. extern const wxString KiCadFootprintFileExtension;
  60. extern const wxString KiCadFootprintLibPathExtension;
  61. extern const wxString GedaPcbFootprintLibFileExtension;
  62. extern const wxString EagleFootprintLibPathExtension;
  63. extern const wxString ComponentFileExtensionWildcard;
  64. /// Proper wxFileDialog wild card definitions.
  65. extern const wxString SchematicSymbolFileWildcard;
  66. extern const wxString SchematicLibraryFileWildcard;
  67. extern const wxString ProjectFileWildcard;
  68. extern const wxString SchematicFileWildcard;
  69. extern const wxString BoardFileWildcard;
  70. extern const wxString NetlistFileWildcard;
  71. extern const wxString GerberFileWildcard;
  72. extern const wxString LegacyPcbFileWildcard;
  73. extern const wxString PcbFileWildcard;
  74. extern const wxString EaglePcbFileWildcard;
  75. extern const wxString PCadPcbFileWildcard;
  76. extern const wxString PdfFileWildcard;
  77. extern const wxString PSFileWildcard;
  78. extern const wxString MacrosFileWildcard;
  79. extern const wxString AllFilesWildcard;
  80. extern const wxString ComponentFileWildcard;
  81. extern const wxString DrillFileWildcard;
  82. extern const wxString SVGFileWildcard;
  83. extern const wxString ReportFileWildcard;
  84. extern const wxString FootprintPlaceFileWildcard;
  85. extern const wxString VrmlFileWildcard;
  86. extern const wxString DocModulesFileName;
  87. extern const wxString LegacyFootprintLibPathWildcard;
  88. extern const wxString KiCadFootprintLibFileWildcard;
  89. extern const wxString KiCadFootprintLibPathWildcard;
  90. extern const wxString GedaPcbFootprintLibFileWildcard;
  91. extern const wxString EagleFootprintLibPathWildcard;
  92. #endif // INCLUDE_WILDCARDS_AND_FILES_EXT_H_