KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_diff_base.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,
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, you may find one here:
18
* http://www.gnu.org/licenses/gpl-3.0.html
19
* or you may search the http://www.gnu.org website for the version 3 license,
20
* or you may write to the Free Software Foundation, Inc.,
21
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22
*/
23
24
#pragma once
25
26
#include <
kicommon.h
>
27
28
#include "
job.h
"
29
30
39
class
KICOMMON_API
JOB_DIFF_BASE
:
public
JOB
40
{
41
public
:
42
enum class
OUTPUT_FORMAT
43
{
44
JSON
,
45
TEXT
,
46
PNG
,
47
SVG
48
};
49
50
wxString
GetSettingsDialogTitle
()
const override
{
return
GetDefaultDescription
(); }
51
52
wxString
m_inputA
;
53
wxString
m_inputB
;
54
OUTPUT_FORMAT
m_format
=
OUTPUT_FORMAT::JSON
;
55
bool
m_exitCodeOnly
=
false
;
56
57
protected
:
58
explicit
JOB_DIFF_BASE
(
const
std::string& aType );
59
};
JOB_DIFF_BASE::m_inputB
wxString m_inputB
Comparison document (file or directory)
Definition
job_diff_base.h:53
JOB_DIFF_BASE::GetSettingsDialogTitle
wxString GetSettingsDialogTitle() const override
Definition
job_diff_base.h:50
JOB_DIFF_BASE::OUTPUT_FORMAT
OUTPUT_FORMAT
Definition
job_diff_base.h:43
JOB_DIFF_BASE::OUTPUT_FORMAT::JSON
@ JSON
Definition
job_diff_base.h:44
JOB_DIFF_BASE::OUTPUT_FORMAT::PNG
@ PNG
Definition
job_diff_base.h:46
JOB_DIFF_BASE::OUTPUT_FORMAT::TEXT
@ TEXT
Definition
job_diff_base.h:45
JOB_DIFF_BASE::OUTPUT_FORMAT::SVG
@ SVG
Definition
job_diff_base.h:47
JOB_DIFF_BASE::m_exitCodeOnly
bool m_exitCodeOnly
Definition
job_diff_base.h:55
JOB_DIFF_BASE::m_format
OUTPUT_FORMAT m_format
Definition
job_diff_base.h:54
JOB_DIFF_BASE::m_inputA
wxString m_inputA
Reference document (file or directory)
Definition
job_diff_base.h:52
JOB_DIFF_BASE::JOB_DIFF_BASE
JOB_DIFF_BASE(const std::string &aType)
JOB::JOB
JOB(const std::string &aType, bool aOutputIsDirectory)
Definition
job.cpp:26
JOB::GetDefaultDescription
virtual wxString GetDefaultDescription() const
Definition
job.cpp:74
job.h
kicommon.h
KICOMMON_API
#define KICOMMON_API
Definition
kicommon.h:27
src
common
jobs
job_diff_base.h
Generated on Thu Jun 18 2026 00:06:50 for KiCad PCB EDA Suite by
1.13.2