KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_pcb_odb.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 modify it
7
* under the terms of the GNU General Public License as published by the
8
* Free Software Foundation, either version 3 of the License, or (at your
9
* option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef JOB_EXPORT_PCB_ODB_H
21
#define JOB_EXPORT_PCB_ODB_H
22
23
#include <
kicommon.h
>
24
#include "
job.h
"
25
26
class
KICOMMON_API
JOB_EXPORT_PCB_ODB
:
public
JOB
27
{
28
public
:
29
JOB_EXPORT_PCB_ODB
();
30
wxString
GetDefaultDescription
()
const override
;
31
wxString
GetSettingsDialogTitle
()
const override
;
32
33
void
SetDefaultOutputPath
(
const
wxString& aReferenceName );
34
35
enum class
ODB_UNITS
36
{
37
MM
,
38
INCH
,
// Do not use IN: it conflicts with a Windows header
39
};
40
41
enum class
ODB_COMPRESSION
42
{
43
NONE
,
44
ZIP
,
45
TGZ
,
46
};
47
48
public
:
49
wxString
m_filename
;
50
wxString
m_drawingSheet
;
51
52
ODB_UNITS
m_units
;
53
int
m_precision
;
54
55
ODB_COMPRESSION
m_compressionMode
;
56
};
57
58
#endif
JOB_EXPORT_PCB_ODB::m_precision
int m_precision
Definition
job_export_pcb_odb.h:53
JOB_EXPORT_PCB_ODB::ODB_UNITS
ODB_UNITS
Definition
job_export_pcb_odb.h:36
JOB_EXPORT_PCB_ODB::ODB_UNITS::INCH
@ INCH
Definition
job_export_pcb_odb.h:38
JOB_EXPORT_PCB_ODB::ODB_UNITS::MM
@ MM
Definition
job_export_pcb_odb.h:37
JOB_EXPORT_PCB_ODB::m_drawingSheet
wxString m_drawingSheet
Definition
job_export_pcb_odb.h:50
JOB_EXPORT_PCB_ODB::ODB_COMPRESSION
ODB_COMPRESSION
Definition
job_export_pcb_odb.h:42
JOB_EXPORT_PCB_ODB::ODB_COMPRESSION::ZIP
@ ZIP
Definition
job_export_pcb_odb.h:44
JOB_EXPORT_PCB_ODB::ODB_COMPRESSION::NONE
@ NONE
Definition
job_export_pcb_odb.h:43
JOB_EXPORT_PCB_ODB::ODB_COMPRESSION::TGZ
@ TGZ
Definition
job_export_pcb_odb.h:45
JOB_EXPORT_PCB_ODB::SetDefaultOutputPath
void SetDefaultOutputPath(const wxString &aReferenceName)
Definition
job_export_pcb_odb.cpp:67
JOB_EXPORT_PCB_ODB::m_filename
wxString m_filename
Definition
job_export_pcb_odb.h:49
JOB_EXPORT_PCB_ODB::m_units
ODB_UNITS m_units
Definition
job_export_pcb_odb.h:52
JOB_EXPORT_PCB_ODB::m_compressionMode
ODB_COMPRESSION m_compressionMode
Definition
job_export_pcb_odb.h:55
JOB_EXPORT_PCB_ODB::JOB_EXPORT_PCB_ODB
JOB_EXPORT_PCB_ODB()
Definition
job_export_pcb_odb.cpp:39
JOB::JOB
JOB(const std::string &aType, bool aOutputIsDirectory)
Definition
job.cpp:26
JOB::GetDefaultDescription
virtual wxString GetDefaultDescription() const
Definition
job.cpp:74
JOB::GetSettingsDialogTitle
virtual wxString GetSettingsDialogTitle() const
Definition
job.cpp:80
job.h
kicommon.h
KICOMMON_API
#define KICOMMON_API
Definition
kicommon.h:28
src
common
jobs
job_export_pcb_odb.h
Generated on Sun Sep 21 2025 01:05:21 for KiCad PCB EDA Suite by
1.13.2