KiCad PCB EDA Suite
Loading...
Searching...
No Matches
easypc_pcb_builder.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#ifndef EASYPC_PCB_BUILDER_H_
21#define EASYPC_PCB_BUILDER_H_
22
24
25class BOARD;
26class REPORTER;
27
28namespace EASYPC
29{
30struct DESIGN_DOCUMENT;
31}
32
33
34namespace EASYPC_PCB
35{
36
43wxString BuildBoard( const EASYPC::DESIGN_DOCUMENT& aDocument, BOARD& aBoard, REPORTER* aReporter,
44 const LAYER_MAPPING_HANDLER& aLayerMapping = nullptr );
45
46} // namespace EASYPC_PCB
47
48#endif // EASYPC_PCB_BUILDER_H_
Information pertinent to a Pcbnew printed circuit board.
Definition board.h:410
A pure virtual class used to derive REPORTER objects from.
Definition reporter.h:73
wxString BuildBoard(const DESIGN_DOCUMENT &aDocument, BOARD &aBoard, REPORTER *aReporter, const LAYER_MAPPING_HANDLER &aLayerMapping)
Fill aBoard from a loaded Easy-PC / DesignSpark PCB design.
std::function< std::map< wxString, PCB_LAYER_ID >(const std::vector< INPUT_LAYER_DESC > &)> LAYER_MAPPING_HANDLER
Pointer to a function that takes a map of source and KiCad layers and returns a re-mapped version.