KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_pcb_ipc2581.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) 2024 Mark Roszko <[email protected]>
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software: you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation, either version 3 of the License, or (at your
10 * option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19 */
20
21#ifndef JOB_EXPORT_PCB_IPC2581_H
22#define JOB_EXPORT_PCB_IPC2581_H
23
24#include <kicommon.h>
25#include "job_export_pcb_fab.h"
26
28{
29public:
31 wxString GetDefaultDescription() const override;
32 wxString GetSettingsDialogTitle() const override;
33
34 void SetDefaultOutputPath( const wxString& aReferenceName );
35
36 void FromJson( const nlohmann::json& aJson ) override;
37 bool SupportsDataSet( DATA_SET aDataSet ) const override;
38
39 enum class IPC2581_VERSION
40 {
43 };
44
45 enum class REF_DES
46 {
49 };
50
51public:
53
55
57 wxString m_colMfg;
58 wxString m_colDistPn;
59 wxString m_colDist;
60 wxString m_bomRev;
61
63};
64
65#endif
void FromJson(const nlohmann::json &aJson) override
DATA_SET
Columns of the IPC-2581C function mode table, Table 4 p 80.
JOB_EXPORT_PCB_FAB(const std::string &aType)
virtual bool SupportsDataSet(DATA_SET aDataSet) const =0
void SetDefaultOutputPath(const wxString &aReferenceName)
virtual wxString GetDefaultDescription() const
Definition job.cpp:74
virtual wxString GetSettingsDialogTitle() const
Definition job.cpp:80
#define KICOMMON_API
Definition kicommon.h:27