1 | NO CONTENT: modified file, binary diff hidden |
|
NO CONTENT: modified file, binary diff hidden |
@@ -1,147 +1,148 | |||||
1 | /*------------------------------------------------------------------------------ |
|
1 | /*------------------------------------------------------------------------------ | |
2 | -- This file is a part of the Kicad Tools Software |
|
2 | -- This file is a part of the Kicad Tools Software | |
3 | -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS |
|
3 | -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS | |
4 | -- |
|
4 | -- | |
5 | -- This program is free software; you can redistribute it and/or modify |
|
5 | -- This program is free software; you can redistribute it and/or modify | |
6 | -- it under the terms of the GNU General Public License as published by |
|
6 | -- it under the terms of the GNU General Public License as published by | |
7 | -- the Free Software Foundation; either version 2 of the License, or |
|
7 | -- the Free Software Foundation; either version 2 of the License, or | |
8 | -- (at your option) any later version. |
|
8 | -- (at your option) any later version. | |
9 | -- |
|
9 | -- | |
10 | -- This program is distributed in the hope that it will be useful, |
|
10 | -- This program is distributed in the hope that it will be useful, | |
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -- GNU General Public License for more details. |
|
13 | -- GNU General Public License for more details. | |
14 | -- |
|
14 | -- | |
15 | -- You should have received a copy of the GNU General Public License |
|
15 | -- You should have received a copy of the GNU General Public License | |
16 | -- along with this program; if not, write to the Free Software |
|
16 | -- along with this program; if not, write to the Free Software | |
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | -------------------------------------------------------------------------------*/ |
|
18 | -------------------------------------------------------------------------------*/ | |
19 | /*-- Author : Alexis Jeandet |
|
19 | /*-- Author : Alexis Jeandet | |
20 | -- Mail : alexis.jeandet@member.fsf.org |
|
20 | -- Mail : alexis.jeandet@member.fsf.org | |
21 | ----------------------------------------------------------------------------*/ |
|
21 | ----------------------------------------------------------------------------*/ | |
22 | const char* add_net_c = "(add_net"; |
|
22 | const char* add_net_c = "(add_net"; | |
23 | const char* area_c = "(area"; |
|
23 | const char* area_c = "(area"; | |
24 | const char* at_c = "(at"; |
|
24 | const char* at_c = "(at"; | |
25 | const char* attr_c = "(attr"; |
|
25 | const char* attr_c = "(attr"; | |
26 | const char* center_c = "(center"; |
|
26 | const char* center_c = "(center"; | |
27 | const char* clearance_c = "(clearance"; |
|
27 | const char* clearance_c = "(clearance"; | |
28 | const char* code_c = "(code"; |
|
28 | const char* code_c = "(code"; | |
29 | const char* component_c = "(component"; |
|
29 | const char* component_c = "(component"; | |
30 | const char* components_c = "(components"; |
|
30 | const char* components_c = "(components"; | |
31 | const char* date_c = "(date"; |
|
31 | const char* date_c = "(date"; | |
32 | const char* design_c = "(design"; |
|
32 | const char* design_c = "(design"; | |
33 | const char* drawings_c = "(drawings"; |
|
33 | const char* drawings_c = "(drawings"; | |
34 | const char* drillshape_c = "(drillshape"; |
|
34 | const char* drillshape_c = "(drillshape"; | |
35 | const char* edge_width_c = "(edge_width"; |
|
35 | const char* edge_width_c = "(edge_width"; | |
36 | const char* effects_c = "(effects"; |
|
36 | const char* effects_c = "(effects"; | |
37 | const char* end_c = "(end"; |
|
37 | const char* end_c = "(end"; | |
38 | const char* excludeedgelayer_c = "(excludeedgelayer"; |
|
38 | const char* excludeedgelayer_c = "(excludeedgelayer"; | |
39 | const char* export_c = "(export"; |
|
39 | const char* export_c = "(export"; | |
40 | const char* field_c = "(field"; |
|
40 | const char* field_c = "(field"; | |
41 | const char* fields_c = "(fields"; |
|
41 | const char* fields_c = "(fields"; | |
42 | const char* font_c = "(font"; |
|
42 | const char* font_c = "(font"; | |
43 | const char* fp_circle_c = "(fp_circle"; |
|
43 | const char* fp_circle_c = "(fp_circle"; | |
44 | const char* fp_line_c = "(fp_line"; |
|
44 | const char* fp_line_c = "(fp_line"; | |
45 | const char* fp_text_c = "(fp_text"; |
|
45 | const char* fp_text_c = "(fp_text"; | |
46 | const char* general_c = "(general"; |
|
46 | const char* general_c = "(general"; | |
47 | const char* host_c = "(host"; |
|
47 | const char* host_c = "(host"; | |
48 | const char* hpglpendiameter_c = "(hpglpendiameter"; |
|
48 | const char* hpglpendiameter_c = "(hpglpendiameter"; | |
49 | const char* hpglpennumber_c = "(hpglpennumber"; |
|
49 | const char* hpglpennumber_c = "(hpglpennumber"; | |
50 | const char* hpglpenoverlay_c = "(hpglpenoverlay"; |
|
50 | const char* hpglpenoverlay_c = "(hpglpenoverlay"; | |
51 | const char* hpglpenspeed_c = "(hpglpenspeed"; |
|
51 | const char* hpglpenspeed_c = "(hpglpenspeed"; | |
|
52 | const char* kicad_pcb_c = "(kicad_pcb"; | |||
52 | const char* last_trace_width_c = "(last_trace_width"; |
|
53 | const char* last_trace_width_c = "(last_trace_width"; | |
53 | const char* layers_c = "(layers"; |
|
54 | const char* layers_c = "(layers"; | |
54 | const char* layerselection_c = "(layerselection"; |
|
55 | const char* layerselection_c = "(layerselection"; | |
55 | const char* lib_c = "(lib"; |
|
56 | const char* lib_c = "(lib"; | |
56 | const char* libpart_c = "(libpart"; |
|
57 | const char* libpart_c = "(libpart"; | |
57 | const char* libparts_c = "(libparts"; |
|
58 | const char* libparts_c = "(libparts"; | |
58 | const char* libraries_c = "(libraries"; |
|
59 | const char* libraries_c = "(libraries"; | |
59 | const char* library_c = "(library"; |
|
60 | const char* library_c = "(library"; | |
60 | const char* libsource_c = "(libsource"; |
|
61 | const char* libsource_c = "(libsource"; | |
61 | const char* linewidth_c = "(linewidth"; |
|
62 | const char* linewidth_c = "(linewidth"; | |
62 | const char* links_c = "(links"; |
|
63 | const char* links_c = "(links"; | |
63 | const char* logical_c = "(logical"; |
|
64 | const char* logical_c = "(logical"; | |
64 | const char* mirror_c = "(mirror"; |
|
65 | const char* mirror_c = "(mirror"; | |
65 | const char* mod_edge_width_c = "(mod_edge_width"; |
|
66 | const char* mod_edge_width_c = "(mod_edge_width"; | |
66 | const char* mod_text_size_c = "(mod_text_size"; |
|
67 | const char* mod_text_size_c = "(mod_text_size"; | |
67 | const char* mode_c = "(mode"; |
|
68 | const char* mode_c = "(mode"; | |
68 | const char* model_c = "(model"; |
|
69 | const char* model_c = "(model"; | |
69 | const char* module_c = "(module"; |
|
70 | const char* module_c = "(module"; | |
70 | const char* modules_c = "(modules"; |
|
71 | const char* modules_c = "(modules"; | |
71 | const char* name_c = "(name"; |
|
72 | const char* name_c = "(name"; | |
72 | const char* names_c = "(names"; |
|
73 | const char* names_c = "(names"; | |
73 | const char* net_c = "(net"; |
|
74 | const char* net_c = "(net"; | |
74 | const char* net_class_c = "(net_class"; |
|
75 | const char* net_class_c = "(net_class"; | |
75 | const char* nets_c = "(nets"; |
|
76 | const char* nets_c = "(nets"; | |
76 | const char* no_connect_c = "(no_connect"; |
|
77 | const char* no_connect_c = "(no_connect"; | |
77 | const char* node_c = "(node"; |
|
78 | const char* node_c = "(node"; | |
78 | const char* num_c = "(num"; |
|
79 | const char* num_c = "(num"; | |
79 | const char* outputdirectory_c = "(outputdirectory"; |
|
80 | const char* outputdirectory_c = "(outputdirectory"; | |
80 | const char* outputformat_c = "(outputformat"; |
|
81 | const char* outputformat_c = "(outputformat"; | |
81 | const char* pad_c = "(pad"; |
|
82 | const char* pad_c = "(pad"; | |
82 | const char* pad_drill_c = "(pad_drill"; |
|
83 | const char* pad_drill_c = "(pad_drill"; | |
83 | const char* pad_size_c = "(pad_size"; |
|
84 | const char* pad_size_c = "(pad_size"; | |
84 | const char* pad_to_mask_clearance_c = "(pad_to_mask_clearance"; |
|
85 | const char* pad_to_mask_clearance_c = "(pad_to_mask_clearance"; | |
85 | const char* padsonsilk_c = "(padsonsilk"; |
|
86 | const char* padsonsilk_c = "(padsonsilk"; | |
86 | const char* page_c = "(page"; |
|
87 | const char* page_c = "(page"; | |
87 | const char* part_c = "(part"; |
|
88 | const char* part_c = "(part"; | |
88 | const char* path_c = "(path"; |
|
89 | const char* path_c = "(path"; | |
89 | const char* pcb_text_size_c = "(pcb_text_size"; |
|
90 | const char* pcb_text_size_c = "(pcb_text_size"; | |
90 | const char* pcb_text_width_c = "(pcb_text_width"; |
|
91 | const char* pcb_text_width_c = "(pcb_text_width"; | |
91 | const char* pcbplotparams_c = "(pcbplotparams"; |
|
92 | const char* pcbplotparams_c = "(pcbplotparams"; | |
92 | const char* pin_c = "(pin"; |
|
93 | const char* pin_c = "(pin"; | |
93 | const char* pins_c = "(pins"; |
|
94 | const char* pins_c = "(pins"; | |
94 | const char* plotframeref_c = "(plotframeref"; |
|
95 | const char* plotframeref_c = "(plotframeref"; | |
95 | const char* plotinvisibletext_c = "(plotinvisibletext"; |
|
96 | const char* plotinvisibletext_c = "(plotinvisibletext"; | |
96 | const char* plotothertext_c = "(plotothertext"; |
|
97 | const char* plotothertext_c = "(plotothertext"; | |
97 | const char* plotreference_c = "(plotreference"; |
|
98 | const char* plotreference_c = "(plotreference"; | |
98 | const char* plotvalue_c = "(plotvalue"; |
|
99 | const char* plotvalue_c = "(plotvalue"; | |
99 | const char* psa4output_c = "(psa4output"; |
|
100 | const char* psa4output_c = "(psa4output"; | |
100 | const char* psnegative_c = "(psnegative"; |
|
101 | const char* psnegative_c = "(psnegative"; | |
101 | const char* ref_c = "(ref"; |
|
102 | const char* ref_c = "(ref"; | |
102 | const char* rotate = "(rota"; |
|
103 | const char* rotate = "(rota"; | |
103 | const char* scale_c = "(scale"; |
|
104 | const char* scale_c = "(scale"; | |
104 | const char* scaleselection_c = "(scaleselection"; |
|
105 | const char* scaleselection_c = "(scaleselection"; | |
105 | const char* segment_width_c = "(segment_width"; |
|
106 | const char* segment_width_c = "(segment_width"; | |
106 | const char* setup_c = "(setup"; |
|
107 | const char* setup_c = "(setup"; | |
107 | const char* sheetpath_c = "(sheetpath"; |
|
108 | const char* sheetpath_c = "(sheetpath"; | |
108 | const char* source_c = "(source"; |
|
109 | const char* source_c = "(source"; | |
109 | const char* start_c = "(start"; |
|
110 | const char* start_c = "(start"; | |
110 | const char* subtractmaskfromsilk_c = "(subtractmaskfromsilk"; |
|
111 | const char* subtractmaskfromsilk_c = "(subtractmaskfromsilk"; | |
111 | const char* tags_c = "(tags"; |
|
112 | const char* tags_c = "(tags"; | |
112 | const char* tedit_c = "(tedit"; |
|
113 | const char* tedit_c = "(tedit"; | |
113 | const char* thickness_c = "(thickness"; |
|
114 | const char* thickness_c = "(thickness"; | |
114 | const char* tool_c = "(tool"; |
|
115 | const char* tool_c = "(tool"; | |
115 | const char* trace_clearance_c = "(trace_clearance"; |
|
116 | const char* trace_clearance_c = "(trace_clearance"; | |
116 | const char* trace_min_c = "(trace_min"; |
|
117 | const char* trace_min_c = "(trace_min"; | |
117 | const char* trace_width_c = "(trace_width"; |
|
118 | const char* trace_width_c = "(trace_width"; | |
118 | const char* tracks_c = "(tracks"; |
|
119 | const char* tracks_c = "(tracks"; | |
119 | const char* tstamp_c = "(tstamp"; |
|
120 | const char* tstamp_c = "(tstamp"; | |
120 | const char* tstamps_c = "(tstamps"; |
|
121 | const char* tstamps_c = "(tstamps"; | |
121 | const char* type_c = "(type"; |
|
122 | const char* type_c = "(type"; | |
122 | const char* uri_c = "(uri"; |
|
123 | const char* uri_c = "(uri"; | |
123 | const char* useauxorigin_c = "(useauxorigin"; |
|
124 | const char* useauxorigin_c = "(useauxorigin"; | |
124 | const char* usegerberextensions_c = "(usegerberextensions"; |
|
125 | const char* usegerberextensions_c = "(usegerberextensions"; | |
125 | const char* uvia_dia_c = "(uvia_dia"; |
|
126 | const char* uvia_dia_c = "(uvia_dia"; | |
126 | const char* uvia_drill_c = "(uvia_drill"; |
|
127 | const char* uvia_drill_c = "(uvia_drill"; | |
127 | const char* uvia_min_drill_c = "(uvia_min_drill"; |
|
128 | const char* uvia_min_drill_c = "(uvia_min_drill"; | |
128 | const char* uvia_min_size_c = "(uvia_min_size"; |
|
129 | const char* uvia_min_size_c = "(uvia_min_size"; | |
129 | const char* uvia_size_c = "(uvia_size"; |
|
130 | const char* uvia_size_c = "(uvia_size"; | |
130 | const char* uvias_allowed_c = "(uvias_allowed"; |
|
131 | const char* uvias_allowed_c = "(uvias_allowed"; | |
131 | const char* value_c = "(value"; |
|
132 | const char* value_c = "(value"; | |
132 | const char* version_c = "(version"; |
|
133 | const char* version_c = "(version"; | |
133 | const char* via_dia_c = "(via_dia"; |
|
134 | const char* via_dia_c = "(via_dia"; | |
134 | const char* via_drill_c = "(via_drill"; |
|
135 | const char* via_drill_c = "(via_drill"; | |
135 | const char* via_min_drill_c = "(via_min_drill"; |
|
136 | const char* via_min_drill_c = "(via_min_drill"; | |
136 | const char* via_min_size_c = "(via_min_size"; |
|
137 | const char* via_min_size_c = "(via_min_size"; | |
137 | const char* via_size_c = "(via_size"; |
|
138 | const char* via_size_c = "(via_size"; | |
138 | const char* viasonmask_c = "(viasonmask"; |
|
139 | const char* viasonmask_c = "(viasonmask"; | |
139 | const char* visible_elements_c = "(visible_elements"; |
|
140 | const char* visible_elements_c = "(visible_elements"; | |
140 | const char* width_c = "(width"; |
|
141 | const char* width_c = "(width"; | |
141 | const char* xyz = "(x"; |
|
142 | const char* xyz = "(x"; | |
142 | const char* zone_45_only_c = "(zone_45_only"; |
|
143 | const char* zone_45_only_c = "(zone_45_only"; | |
143 | const char* zone_clearance_c = "(zone_clearance"; |
|
144 | const char* zone_clearance_c = "(zone_clearance"; | |
144 | const char* zones_c = "(zones"; |
|
145 | const char* zones_c = "(zones"; | |
145 |
|
146 | |||
146 |
|
147 | |||
147 |
|
148 |
@@ -1,158 +1,159 | |||||
1 | /*------------------------------------------------------------------------------ |
|
1 | /*------------------------------------------------------------------------------ | |
2 | -- This file is a part of the Kicad Tools Software |
|
2 | -- This file is a part of the Kicad Tools Software | |
3 | -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS |
|
3 | -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS | |
4 | -- |
|
4 | -- | |
5 | -- This program is free software; you can redistribute it and/or modify |
|
5 | -- This program is free software; you can redistribute it and/or modify | |
6 | -- it under the terms of the GNU General Public License as published by |
|
6 | -- it under the terms of the GNU General Public License as published by | |
7 | -- the Free Software Foundation; either version 2 of the License, or |
|
7 | -- the Free Software Foundation; either version 2 of the License, or | |
8 | -- (at your option) any later version. |
|
8 | -- (at your option) any later version. | |
9 | -- |
|
9 | -- | |
10 | -- This program is distributed in the hope that it will be useful, |
|
10 | -- This program is distributed in the hope that it will be useful, | |
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -- GNU General Public License for more details. |
|
13 | -- GNU General Public License for more details. | |
14 | -- |
|
14 | -- | |
15 | -- You should have received a copy of the GNU General Public License |
|
15 | -- You should have received a copy of the GNU General Public License | |
16 | -- along with this program; if not, write to the Free Software |
|
16 | -- along with this program; if not, write to the Free Software | |
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | -------------------------------------------------------------------------------*/ |
|
18 | -------------------------------------------------------------------------------*/ | |
19 | /*-- Author : Alexis Jeandet |
|
19 | /*-- Author : Alexis Jeandet | |
20 | -- Mail : alexis.jeandet@member.fsf.org |
|
20 | -- Mail : alexis.jeandet@member.fsf.org | |
21 | ----------------------------------------------------------------------------*/ |
|
21 | ----------------------------------------------------------------------------*/ | |
22 | /* |
|
22 | /* | |
23 | * Have a look to LispLikeLexique.ods |
|
23 | * Have a look to LispLikeLexique.ods | |
24 | */ |
|
24 | */ | |
25 | #ifndef LEXIQUE_H |
|
25 | #ifndef LEXIQUE_H | |
26 | #define LEXIQUE_H |
|
26 | #define LEXIQUE_H | |
27 |
|
27 | |||
28 | namespace QIlib{ |
|
28 | namespace QIlib{ | |
29 |
|
29 | |||
30 | namespace Lexique |
|
30 | namespace Lexique | |
31 | { |
|
31 | { | |
32 | extern "C" const char* add_net_c; |
|
32 | extern "C" const char* add_net_c; | |
33 | extern "C" const char* area_c; |
|
33 | extern "C" const char* area_c; | |
34 | extern "C" const char* at_c; |
|
34 | extern "C" const char* at_c; | |
35 | extern "C" const char* attr_c; |
|
35 | extern "C" const char* attr_c; | |
36 | extern "C" const char* center_c; |
|
36 | extern "C" const char* center_c; | |
37 | extern "C" const char* clearance_c; |
|
37 | extern "C" const char* clearance_c; | |
38 | extern "C" const char* code_c; |
|
38 | extern "C" const char* code_c; | |
39 | extern "C" const char* component_c; |
|
39 | extern "C" const char* component_c; | |
40 | extern "C" const char* components_c; |
|
40 | extern "C" const char* components_c; | |
41 | extern "C" const char* date_c; |
|
41 | extern "C" const char* date_c; | |
42 | extern "C" const char* design_c; |
|
42 | extern "C" const char* design_c; | |
43 | extern "C" const char* drawings_c; |
|
43 | extern "C" const char* drawings_c; | |
44 | extern "C" const char* drillshape_c; |
|
44 | extern "C" const char* drillshape_c; | |
45 | extern "C" const char* edge_width_c; |
|
45 | extern "C" const char* edge_width_c; | |
46 | extern "C" const char* effects_c; |
|
46 | extern "C" const char* effects_c; | |
47 | extern "C" const char* end_c; |
|
47 | extern "C" const char* end_c; | |
48 | extern "C" const char* excludeedgelayer_c; |
|
48 | extern "C" const char* excludeedgelayer_c; | |
49 | extern "C" const char* export_c; |
|
49 | extern "C" const char* export_c; | |
50 | extern "C" const char* field_c; |
|
50 | extern "C" const char* field_c; | |
51 | extern "C" const char* fields_c; |
|
51 | extern "C" const char* fields_c; | |
52 | extern "C" const char* font_c; |
|
52 | extern "C" const char* font_c; | |
53 | extern "C" const char* fp_circle_c; |
|
53 | extern "C" const char* fp_circle_c; | |
54 | extern "C" const char* fp_line_c; |
|
54 | extern "C" const char* fp_line_c; | |
55 | extern "C" const char* fp_text_c; |
|
55 | extern "C" const char* fp_text_c; | |
56 | extern "C" const char* general_c; |
|
56 | extern "C" const char* general_c; | |
57 | extern "C" const char* host_c; |
|
57 | extern "C" const char* host_c; | |
58 | extern "C" const char* hpglpendiameter_c; |
|
58 | extern "C" const char* hpglpendiameter_c; | |
59 | extern "C" const char* hpglpennumber_c; |
|
59 | extern "C" const char* hpglpennumber_c; | |
60 | extern "C" const char* hpglpenoverlay_c; |
|
60 | extern "C" const char* hpglpenoverlay_c; | |
61 | extern "C" const char* hpglpenspeed_c; |
|
61 | extern "C" const char* hpglpenspeed_c; | |
|
62 | extern "C" const char* kicad_pcb_c; | |||
62 | extern "C" const char* last_trace_width_c; |
|
63 | extern "C" const char* last_trace_width_c; | |
63 | extern "C" const char* layers_c; |
|
64 | extern "C" const char* layers_c; | |
64 | extern "C" const char* layerselection_c; |
|
65 | extern "C" const char* layerselection_c; | |
65 | extern "C" const char* lib_c; |
|
66 | extern "C" const char* lib_c; | |
66 | extern "C" const char* libpart_c; |
|
67 | extern "C" const char* libpart_c; | |
67 | extern "C" const char* libparts_c; |
|
68 | extern "C" const char* libparts_c; | |
68 | extern "C" const char* libraries_c; |
|
69 | extern "C" const char* libraries_c; | |
69 | extern "C" const char* library_c; |
|
70 | extern "C" const char* library_c; | |
70 | extern "C" const char* libsource_c; |
|
71 | extern "C" const char* libsource_c; | |
71 | extern "C" const char* linewidth_c; |
|
72 | extern "C" const char* linewidth_c; | |
72 | extern "C" const char* links_c; |
|
73 | extern "C" const char* links_c; | |
73 | extern "C" const char* logical_c; |
|
74 | extern "C" const char* logical_c; | |
74 | extern "C" const char* mirror_c; |
|
75 | extern "C" const char* mirror_c; | |
75 | extern "C" const char* mod_edge_width_c; |
|
76 | extern "C" const char* mod_edge_width_c; | |
76 | extern "C" const char* mod_text_size_c; |
|
77 | extern "C" const char* mod_text_size_c; | |
77 | extern "C" const char* mode_c; |
|
78 | extern "C" const char* mode_c; | |
78 | extern "C" const char* model_c; |
|
79 | extern "C" const char* model_c; | |
79 | extern "C" const char* module_c; |
|
80 | extern "C" const char* module_c; | |
80 | extern "C" const char* modules_c; |
|
81 | extern "C" const char* modules_c; | |
81 | extern "C" const char* name_c; |
|
82 | extern "C" const char* name_c; | |
82 | extern "C" const char* names_c; |
|
83 | extern "C" const char* names_c; | |
83 | extern "C" const char* net_c; |
|
84 | extern "C" const char* net_c; | |
84 | extern "C" const char* net_class_c; |
|
85 | extern "C" const char* net_class_c; | |
85 | extern "C" const char* nets_c; |
|
86 | extern "C" const char* nets_c; | |
86 | extern "C" const char* no_connect_c; |
|
87 | extern "C" const char* no_connect_c; | |
87 | extern "C" const char* node_c; |
|
88 | extern "C" const char* node_c; | |
88 | extern "C" const char* num_c; |
|
89 | extern "C" const char* num_c; | |
89 | extern "C" const char* outputdirectory_c; |
|
90 | extern "C" const char* outputdirectory_c; | |
90 | extern "C" const char* outputformat_c; |
|
91 | extern "C" const char* outputformat_c; | |
91 | extern "C" const char* pad_c; |
|
92 | extern "C" const char* pad_c; | |
92 | extern "C" const char* pad_drill_c; |
|
93 | extern "C" const char* pad_drill_c; | |
93 | extern "C" const char* pad_size_c; |
|
94 | extern "C" const char* pad_size_c; | |
94 | extern "C" const char* pad_to_mask_clearance_c; |
|
95 | extern "C" const char* pad_to_mask_clearance_c; | |
95 | extern "C" const char* padsonsilk_c; |
|
96 | extern "C" const char* padsonsilk_c; | |
96 | extern "C" const char* page_c; |
|
97 | extern "C" const char* page_c; | |
97 | extern "C" const char* part_c; |
|
98 | extern "C" const char* part_c; | |
98 | extern "C" const char* path_c; |
|
99 | extern "C" const char* path_c; | |
99 | extern "C" const char* pcb_text_size_c; |
|
100 | extern "C" const char* pcb_text_size_c; | |
100 | extern "C" const char* pcb_text_width_c; |
|
101 | extern "C" const char* pcb_text_width_c; | |
101 | extern "C" const char* pcbplotparams_c; |
|
102 | extern "C" const char* pcbplotparams_c; | |
102 | extern "C" const char* pin_c; |
|
103 | extern "C" const char* pin_c; | |
103 | extern "C" const char* pins_c; |
|
104 | extern "C" const char* pins_c; | |
104 | extern "C" const char* plotframeref_c; |
|
105 | extern "C" const char* plotframeref_c; | |
105 | extern "C" const char* plotinvisibletext_c; |
|
106 | extern "C" const char* plotinvisibletext_c; | |
106 | extern "C" const char* plotothertext_c; |
|
107 | extern "C" const char* plotothertext_c; | |
107 | extern "C" const char* plotreference_c; |
|
108 | extern "C" const char* plotreference_c; | |
108 | extern "C" const char* plotvalue_c; |
|
109 | extern "C" const char* plotvalue_c; | |
109 | extern "C" const char* psa4output_c; |
|
110 | extern "C" const char* psa4output_c; | |
110 | extern "C" const char* psnegative_c; |
|
111 | extern "C" const char* psnegative_c; | |
111 | extern "C" const char* ref_c; |
|
112 | extern "C" const char* ref_c; | |
112 | extern "C" const char* rotate; |
|
113 | extern "C" const char* rotate; | |
113 | extern "C" const char* scale_c; |
|
114 | extern "C" const char* scale_c; | |
114 | extern "C" const char* scaleselection_c; |
|
115 | extern "C" const char* scaleselection_c; | |
115 | extern "C" const char* segment_width_c; |
|
116 | extern "C" const char* segment_width_c; | |
116 | extern "C" const char* setup_c; |
|
117 | extern "C" const char* setup_c; | |
117 | extern "C" const char* sheetpath_c; |
|
118 | extern "C" const char* sheetpath_c; | |
118 | extern "C" const char* source_c; |
|
119 | extern "C" const char* source_c; | |
119 | extern "C" const char* start_c; |
|
120 | extern "C" const char* start_c; | |
120 | extern "C" const char* subtractmaskfromsilk_c; |
|
121 | extern "C" const char* subtractmaskfromsilk_c; | |
121 | extern "C" const char* tags_c; |
|
122 | extern "C" const char* tags_c; | |
122 | extern "C" const char* tedit_c; |
|
123 | extern "C" const char* tedit_c; | |
123 | extern "C" const char* thickness_c; |
|
124 | extern "C" const char* thickness_c; | |
124 | extern "C" const char* tool_c; |
|
125 | extern "C" const char* tool_c; | |
125 | extern "C" const char* trace_clearance_c; |
|
126 | extern "C" const char* trace_clearance_c; | |
126 | extern "C" const char* trace_min_c; |
|
127 | extern "C" const char* trace_min_c; | |
127 | extern "C" const char* trace_width_c; |
|
128 | extern "C" const char* trace_width_c; | |
128 | extern "C" const char* tracks_c; |
|
129 | extern "C" const char* tracks_c; | |
129 | extern "C" const char* tstamp_c; |
|
130 | extern "C" const char* tstamp_c; | |
130 | extern "C" const char* tstamps_c; |
|
131 | extern "C" const char* tstamps_c; | |
131 | extern "C" const char* type_c; |
|
132 | extern "C" const char* type_c; | |
132 | extern "C" const char* uri_c; |
|
133 | extern "C" const char* uri_c; | |
133 | extern "C" const char* useauxorigin_c; |
|
134 | extern "C" const char* useauxorigin_c; | |
134 | extern "C" const char* usegerberextensions_c; |
|
135 | extern "C" const char* usegerberextensions_c; | |
135 | extern "C" const char* uvia_dia_c; |
|
136 | extern "C" const char* uvia_dia_c; | |
136 | extern "C" const char* uvia_drill_c; |
|
137 | extern "C" const char* uvia_drill_c; | |
137 | extern "C" const char* uvia_min_drill_c; |
|
138 | extern "C" const char* uvia_min_drill_c; | |
138 | extern "C" const char* uvia_min_size_c; |
|
139 | extern "C" const char* uvia_min_size_c; | |
139 | extern "C" const char* uvia_size_c; |
|
140 | extern "C" const char* uvia_size_c; | |
140 | extern "C" const char* uvias_allowed_c; |
|
141 | extern "C" const char* uvias_allowed_c; | |
141 | extern "C" const char* value_c; |
|
142 | extern "C" const char* value_c; | |
142 | extern "C" const char* version_c; |
|
143 | extern "C" const char* version_c; | |
143 | extern "C" const char* via_dia_c; |
|
144 | extern "C" const char* via_dia_c; | |
144 | extern "C" const char* via_drill_c; |
|
145 | extern "C" const char* via_drill_c; | |
145 | extern "C" const char* via_min_drill_c; |
|
146 | extern "C" const char* via_min_drill_c; | |
146 | extern "C" const char* via_min_size_c; |
|
147 | extern "C" const char* via_min_size_c; | |
147 | extern "C" const char* via_size_c; |
|
148 | extern "C" const char* via_size_c; | |
148 | extern "C" const char* viasonmask_c; |
|
149 | extern "C" const char* viasonmask_c; | |
149 | extern "C" const char* visible_elements_c; |
|
150 | extern "C" const char* visible_elements_c; | |
150 | extern "C" const char* width_c; |
|
151 | extern "C" const char* width_c; | |
151 | extern "C" const char* xyz; |
|
152 | extern "C" const char* xyz; | |
152 | extern "C" const char* zone_45_only_c; |
|
153 | extern "C" const char* zone_45_only_c; | |
153 | extern "C" const char* zone_clearance_c; |
|
154 | extern "C" const char* zone_clearance_c; | |
154 | extern "C" const char* zones_c; |
|
155 | extern "C" const char* zones_c; | |
155 | } |
|
156 | } | |
156 | } |
|
157 | } | |
157 |
|
158 | |||
158 | #endif // LEXIQUE_H |
|
159 | #endif // LEXIQUE_H |
@@ -1,56 +1,67 | |||||
1 | /*------------------------------------------------------------------------------ |
|
1 | /*------------------------------------------------------------------------------ | |
2 | -- This file is a part of the Kicad Tools Software |
|
2 | -- This file is a part of the Kicad Tools Software | |
3 | -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS |
|
3 | -- Copyright (C) 2014, Plasma Physics Laboratory - CNRS | |
4 | -- |
|
4 | -- | |
5 | -- This program is free software; you can redistribute it and/or modify |
|
5 | -- This program is free software; you can redistribute it and/or modify | |
6 | -- it under the terms of the GNU General Public License as published by |
|
6 | -- it under the terms of the GNU General Public License as published by | |
7 | -- the Free Software Foundation; either version 2 of the License, or |
|
7 | -- the Free Software Foundation; either version 2 of the License, or | |
8 | -- (at your option) any later version. |
|
8 | -- (at your option) any later version. | |
9 | -- |
|
9 | -- | |
10 | -- This program is distributed in the hope that it will be useful, |
|
10 | -- This program is distributed in the hope that it will be useful, | |
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -- GNU General Public License for more details. |
|
13 | -- GNU General Public License for more details. | |
14 | -- |
|
14 | -- | |
15 | -- You should have received a copy of the GNU General Public License |
|
15 | -- You should have received a copy of the GNU General Public License | |
16 | -- along with this program; if not, write to the Free Software |
|
16 | -- along with this program; if not, write to the Free Software | |
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | -------------------------------------------------------------------------------*/ |
|
18 | -------------------------------------------------------------------------------*/ | |
19 | /*-- Author : Alexis Jeandet |
|
19 | /*-- Author : Alexis Jeandet | |
20 | -- Mail : alexis.jeandet@member.fsf.org |
|
20 | -- Mail : alexis.jeandet@member.fsf.org | |
21 | ----------------------------------------------------------------------------*/ |
|
21 | ----------------------------------------------------------------------------*/ | |
22 | #ifndef QICADPCB_H |
|
22 | #ifndef QICADPCB_H | |
23 | #define QICADPCB_H |
|
23 | #define QICADPCB_H | |
24 | #include <QString> |
|
24 | #include <QString> | |
25 | #include <QStringList> |
|
25 | #include <QStringList> | |
26 | #include <QList> |
|
26 | #include <QList> | |
27 | #include <QFile> |
|
27 | #include <QFile> | |
28 | #include <parsers/lispLike_driver.h> |
|
28 | #include <parsers/lispLike_driver.h> | |
29 | #include <qicadlisplikelexique.h> |
|
29 | #include <qicadlisplikelexique.h> | |
30 |
|
30 | |||
31 | namespace QIlib{ |
|
31 | namespace QIlib{ | |
32 |
|
32 | |||
|
33 | ||||
|
34 | class QIcadPcbGeneralInfo : public QIcadAbstractNodeWrapper | |||
|
35 | { | |||
|
36 | public: | |||
|
37 | QIcadPcbGeneralInfo(QIlib::AbstractNode* node); | |||
|
38 | QIcadAbstractNodeWrapper version; | |||
|
39 | QIcadAbstractNodeWrapper host; | |||
|
40 | void setNode(QIlib::AbstractNode* node); | |||
|
41 | }; | |||
|
42 | ||||
33 | class QIcadPcbRoot : public QIcadAbstractNodeWrapper |
|
43 | class QIcadPcbRoot : public QIcadAbstractNodeWrapper | |
34 | { |
|
44 | { | |
35 | public: |
|
45 | public: | |
36 | QIcadPcbRoot(QIlib::AbstractNode* node); |
|
46 | QIcadPcbRoot(QIlib::AbstractNode* node); | |
37 | QIcadAbstractNodeWrapper version; |
|
47 | QIcadAbstractNodeWrapper version; | |
38 | QIcadAbstractNodeWrapper host; |
|
48 | QIcadAbstractNodeWrapper host; | |
|
49 | QIcadAbstractNodeWrapper page; | |||
39 | void setNode(QIlib::AbstractNode* node); |
|
50 | void setNode(QIlib::AbstractNode* node); | |
40 | }; |
|
51 | }; | |
41 |
|
52 | |||
42 | class QIcadPcb : private lispLike_Driver |
|
53 | class QIcadPcb : private lispLike_Driver | |
43 | { |
|
54 | { | |
44 | public: |
|
55 | public: | |
45 | QIcadPcb(); |
|
56 | QIcadPcb(); | |
46 | bool parsePcb(const QString& pcb); |
|
57 | bool parsePcb(const QString& pcb); | |
47 | QString toString(); |
|
58 | QString toString(); | |
48 | QString fileName; |
|
59 | QString fileName; | |
49 | QString print(); |
|
60 | QString print(); | |
50 | private: |
|
61 | private: | |
51 | void updateConcreteTree(); |
|
62 | void updateConcreteTree(); | |
52 | }; |
|
63 | }; | |
53 |
|
64 | |||
54 |
|
65 | |||
55 | } |
|
66 | } | |
56 | #endif // QICADPCB_H |
|
67 | #endif // QICADPCB_H |
General Comments 0
You need to be logged in to leave comments.
Login now