KiCad PCB EDA Suite
Loading...
Searching...
No Matches
tree_file_type.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) 2022 KiCad Developers, see AUTHORS.txt for contributors.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, you may find one here:
18 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
19 * or you may search the http://www.gnu.org website for the version 2 license,
20 * or you may write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22 */
23
24
25#ifndef TREE_FILE_TYPE_H
26#define TREE_FILE_TYPE_H
27
28// Identify the type of files handled by KiCad manager
29//
30// When changing this enum please verify (and perhaps update)
31// PROJECT_TREE_PANE::GetFileExt(), s_AllowedExtensionsToList[]
32// and the list of images in PROJECT_TREE::LoadIcons(). This icons must me in the same
33// order as TREE_FILE_TYPE
35{
36 ROOT = 0,
37 LEGACY_PROJECT, // Legacy project file (.pro)
38 JSON_PROJECT, // JSON formatted project file (.kicad_pro)
39 LEGACY_SCHEMATIC, // Schematic file (.sch)
40 SEXPR_SCHEMATIC, // Schematic file (.kicad_sch)
41 LEGACY_PCB, // board file (.brd) legacy format
42 SEXPR_PCB, // board file (.kicad_brd) new s expression format
43 GERBER, // Gerber file (.pho, .g*)
44 GERBER_JOB_FILE, // Gerber file (.gbrjob)
45 HTML, // HTML file (.htm, *.html)
46 PDF, // PDF file (.pdf)
47 TXT, // ascii text file (.txt)
48 MD, // markdown file (.md)
49 NET, // netlist file (.net)
50 NET_SPICE, // spice netlist file (.cir)
51 UNKNOWN,
53 CMP_LINK, // cmp/footprint link file (.cmp)
54 REPORT, // report file (.rpt)
55 FP_PLACE, // footprints position (place) file (.pos)
56 DRILL, // Excellon drill file (.drl)
57 DRILL_NC, // Similar Excellon drill file (.nc)
58 DRILL_XNC, // Similar Excellon drill file (.xnc)
59 SVG, // SVG file (.svg)
60 DRAWING_SHEET, // Drawing sheet file (.kicad_wks)
61 FOOTPRINT_FILE, // footprint file (.kicad_mod)
62 SCHEMATIC_LIBFILE, // schematic library file (.lib)
63 SEXPR_SYMBOL_LIB_FILE, // s-expression symbol library file (.kicad_sym)
64 DESIGN_RULES, // design rules (.kicad_dru)
65 ZIP_ARCHIVE, // .zip file
66 MAX // Sentinel
67};
68
69#endif // TREE_FILE_TYPE_H
TREE_FILE_TYPE