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 The 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, see <https://www.gnu.org/licenses/>.
18 */
19
20
21#ifndef TREE_FILE_TYPE_H
22#define TREE_FILE_TYPE_H
23
24// Identify the type of files handled by KiCad manager
25//
26// When changing this enum please verify (and perhaps update)
27// PROJECT_TREE_PANE::GetFileExt(), s_AllowedExtensionsToList[]
28// and the list of images in PROJECT_TREE::LoadIcons(). This icons must me in the same
29// order as TREE_FILE_TYPE
31{
32 ROOT = 0,
33 LEGACY_PROJECT, // Legacy project file (.pro)
34 JSON_PROJECT, // JSON formatted project file (.kicad_pro)
35 LEGACY_SCHEMATIC, // Schematic file (.sch)
36 SEXPR_SCHEMATIC, // Schematic file (.kicad_sch)
37 LEGACY_PCB, // board file (.brd) legacy format
38 SEXPR_PCB, // board file (.kicad_brd) new s expression format
39 GERBER, // Gerber file (.pho, .g*)
40 GERBER_JOB_FILE, // Gerber file (.gbrjob)
41 HTML, // HTML file (.htm, *.html)
42 PDF, // PDF file (.pdf)
43 TXT, // ascii text file (.txt)
44 MD, // markdown file (.md)
45 NET, // netlist file (.net)
46 NET_SPICE, // spice netlist file (.cir)
49 CMP_LINK, // cmp/footprint link file (.cmp)
50 REPORT, // report file (.rpt)
51 FP_PLACE, // footprints position (place) file (.pos)
52 DRILL, // Excellon drill file (.drl)
53 DRILL_NC, // Similar Excellon drill file (.nc)
54 DRILL_XNC, // Similar Excellon drill file (.xnc)
55 SVG, // SVG file (.svg)
56 CSV, // CSV file (.csv)
57 DRAWING_SHEET, // Drawing sheet file (.kicad_wks)
58 FOOTPRINT_FILE, // footprint file (.kicad_mod)
59 SCHEMATIC_LIBFILE, // schematic library file (.lib)
60 SEXPR_SYMBOL_LIB_FILE, // s-expression symbol library file (.kicad_sym)
61 DESIGN_RULES, // design rules (.kicad_dru)
62 ZIP_ARCHIVE, // .zip file
63 JOBSET_FILE, // jobs (.kicad_jobs)
64 MAX // Sentinel
65};
66
67#endif // TREE_FILE_TYPE_H
@ MAX
#define REPORT(msg)
@ NET
This item represents a net.
TREE_FILE_TYPE