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
34
enum class
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
,
52
DIRECTORY
,
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
JOBSET_FILE
,
// jobs (.kicad_jobs)
67
MAX
// Sentinel
68
};
69
70
#endif
// TREE_FILE_TYPE_H
TREE_FILE_TYPE
TREE_FILE_TYPE
Definition:
tree_file_type.h:35
TREE_FILE_TYPE::FP_PLACE
@ FP_PLACE
TREE_FILE_TYPE::JOBSET_FILE
@ JOBSET_FILE
TREE_FILE_TYPE::MAX
@ MAX
TREE_FILE_TYPE::DIRECTORY
@ DIRECTORY
TREE_FILE_TYPE::NET
@ NET
TREE_FILE_TYPE::LEGACY_PCB
@ LEGACY_PCB
TREE_FILE_TYPE::HTML
@ HTML
TREE_FILE_TYPE::TXT
@ TXT
TREE_FILE_TYPE::DRILL_NC
@ DRILL_NC
TREE_FILE_TYPE::NET_SPICE
@ NET_SPICE
TREE_FILE_TYPE::UNKNOWN
@ UNKNOWN
TREE_FILE_TYPE::SEXPR_PCB
@ SEXPR_PCB
TREE_FILE_TYPE::GERBER_JOB_FILE
@ GERBER_JOB_FILE
TREE_FILE_TYPE::FOOTPRINT_FILE
@ FOOTPRINT_FILE
TREE_FILE_TYPE::MD
@ MD
TREE_FILE_TYPE::SEXPR_SYMBOL_LIB_FILE
@ SEXPR_SYMBOL_LIB_FILE
TREE_FILE_TYPE::SCHEMATIC_LIBFILE
@ SCHEMATIC_LIBFILE
TREE_FILE_TYPE::SEXPR_SCHEMATIC
@ SEXPR_SCHEMATIC
TREE_FILE_TYPE::CMP_LINK
@ CMP_LINK
TREE_FILE_TYPE::DRAWING_SHEET
@ DRAWING_SHEET
TREE_FILE_TYPE::PDF
@ PDF
TREE_FILE_TYPE::LEGACY_PROJECT
@ LEGACY_PROJECT
TREE_FILE_TYPE::GERBER
@ GERBER
TREE_FILE_TYPE::DESIGN_RULES
@ DESIGN_RULES
TREE_FILE_TYPE::SVG
@ SVG
TREE_FILE_TYPE::ZIP_ARCHIVE
@ ZIP_ARCHIVE
TREE_FILE_TYPE::REPORT
@ REPORT
TREE_FILE_TYPE::LEGACY_SCHEMATIC
@ LEGACY_SCHEMATIC
TREE_FILE_TYPE::ROOT
@ ROOT
TREE_FILE_TYPE::DRILL_XNC
@ DRILL_XNC
TREE_FILE_TYPE::JSON_PROJECT
@ JSON_PROJECT
TREE_FILE_TYPE::DRILL
@ DRILL
src
kicad
tree_file_type.h
Generated on Thu Nov 21 2024 00:06:44 for KiCad PCB EDA Suite by
1.9.6