KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eeschema_jobs_handler.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) 2022 Mark Roszko <[email protected]>
5 * Copyright (C) 1992-2023 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 along
18 * with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#ifndef EESCHEMA_JOBS_HANDLER_H
22#define EESCHEMA_JOBS_HANDLER_H
23
24#include <jobs/job_dispatcher.h>
25#include <wx/string.h>
26
27namespace KIGFX
28{
29class SCH_RENDER_SETTINGS;
30};
31
32class KIWAY;
33class SCHEMATIC;
35class LIB_SYMBOL;
37
42{
43public:
45 int JobExportBom( JOB* aJob );
46 int JobExportPythonBom( JOB* aJob );
47 int JobExportNetlist( JOB* aJob );
48 int JobExportPlot( JOB* aJob );
49 int JobSchErc( JOB* aJob );
50 int JobSymUpgrade( JOB* aJob );
51 int JobSymExportSvg( JOB* aJob );
52
64 void InitRenderSettings( KIGFX::SCH_RENDER_SETTINGS* aRenderSettings, const wxString& aTheme,
65 SCHEMATIC* aSch,
66 const wxString& aDrawingSheetOverride = wxEmptyString );
67
68private:
69
70 int doSymExportSvg( JOB_SYM_EXPORT_SVG* aSvgJob, KIGFX::SCH_RENDER_SETTINGS* aRenderSettings,
71 LIB_SYMBOL* symbol );
72
74};
75
76#endif
Handle Eeschema job dispatches.
void InitRenderSettings(KIGFX::SCH_RENDER_SETTINGS *aRenderSettings, const wxString &aTheme, SCHEMATIC *aSch, const wxString &aDrawingSheetOverride=wxEmptyString)
Configure the SCH_RENDER_SETTINGS object with the correct data to be used with plotting.
DS_PROXY_VIEW_ITEM * getDrawingSheetProxyView(SCHEMATIC *aSch)
int doSymExportSvg(JOB_SYM_EXPORT_SVG *aSvgJob, KIGFX::SCH_RENDER_SETTINGS *aRenderSettings, LIB_SYMBOL *symbol)
An simple container class that lets us dispatch output jobs to kifaces.
Definition: job.h:32
Store schematic specific render settings.
Definition: sch_painter.h:72
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
Definition: kiway.h:279
Define a library symbol object.
Definition: lib_symbol.h:99
Holds all the data relating to one schematic.
Definition: schematic.h:75
The Cairo implementation of the graphics abstraction layer.
Definition: color4d.cpp:247