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
28class KIWAY;
29class SCHEMATIC;
31class LIB_SYMBOL;
33
38{
39public:
41 int JobExportBom( JOB* aJob );
42 int JobExportPythonBom( JOB* aJob );
43 int JobExportNetlist( JOB* aJob );
44 int JobExportPlot( JOB* aJob );
45 int JobSchErc( JOB* aJob );
46 int JobSymUpgrade( JOB* aJob );
47 int JobSymExportSvg( JOB* aJob );
48
60 void InitRenderSettings( SCH_RENDER_SETTINGS* aRenderSettings, const wxString& aTheme,
61 SCHEMATIC* aSch,
62 const wxString& aDrawingSheetOverride = wxEmptyString );
63
64private:
65
66 int doSymExportSvg( JOB_SYM_EXPORT_SVG* aSvgJob, SCH_RENDER_SETTINGS* aRenderSettings,
67 LIB_SYMBOL* symbol );
68
70};
71
72#endif
Handle Eeschema job dispatches.
void InitRenderSettings(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, SCH_RENDER_SETTINGS *aRenderSettings, LIB_SYMBOL *symbol)
An simple container class that lets us dispatch output jobs to kifaces.
Definition: job.h:32
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:77
Holds all the data relating to one schematic.
Definition: schematic.h:75