KiCad PCB EDA Suite
Loading...
Searching...
No Matches
easypc_classes_project.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
24
25#ifndef EASYPC_CLASSES_PROJECT_H
26#define EASYPC_CLASSES_PROJECT_H
27
28#include <vector>
29
30#include <wx/string.h>
31
33
34
35namespace EASYPC
36{
37
40{
41 LOAD_TASK Load( ARCHIVE& aAr ) override;
42
43 wxString Name;
44};
45
46
49{
50 LOAD_TASK Load( ARCHIVE& aAr ) override;
51
52 int32_t Format = 0;
53 std::vector<SOURCE_PROJECT_ITEM*> Boards;
54 std::vector<SOURCE_PROJECT_ITEM*> Schematics;
55};
56
57} // namespace EASYPC
58
59#endif // EASYPC_CLASSES_PROJECT_H
One archive load stream; it owns every object it creates.
A loader coroutine. Awaiting one queues it on its archive's frame stack instead of nesting the call.
Reader for the serialized streams of Easy-PC and DesignSpark PCB.
Root of every deserialized object.
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
wxString Name
Windows path relative to the project directory.
LOAD_TASK Load(ARCHIVE &aAr) override
Read this object's fields.
std::vector< SOURCE_PROJECT_ITEM * > Schematics
in sheet order
std::vector< SOURCE_PROJECT_ITEM * > Boards
at most one