52 JOB(
"netlist", false ),
54 format(
FORMAT::KICADSEXPR ),
55 m_spiceSaveAllVoltages( false ),
56 m_spiceSaveAllCurrents( false ),
57 m_spiceSaveAllDissipations( false ),
58 m_spiceSaveAllEvents( false )
61 m_params.emplace_back(
new JOB_PARAM<bool>(
"spice.save_all_voltages", &m_spiceSaveAllVoltages,
62 m_spiceSaveAllVoltages ) );
63 m_params.emplace_back(
new JOB_PARAM<bool>(
"spice.save_all_currents", &m_spiceSaveAllCurrents,
64 m_spiceSaveAllCurrents ) );
65 m_params.emplace_back(
new JOB_PARAM<bool>(
"spice.save_all_events", &m_spiceSaveAllEvents,
66 m_spiceSaveAllEvents ) );
67 m_params.emplace_back(
new JOB_PARAM<bool>(
"spice.save_all_dissipations", &m_spiceSaveAllDissipations,
68 m_spiceSaveAllDissipations ) );
86 return wxString::Format(
_(
"Export Netlist Job Settings" ) );
static std::map< JOB_EXPORT_SCH_NETLIST::FORMAT, wxString > & GetFormatNameMap()
wxString GetDefaultDescription() const override
wxString GetSettingsDialogTitle() const override
An simple container class that lets us dispatch output jobs to kifaces.
Some functions to handle hotkeys in KiCad.
std::map< JOB_EXPORT_SCH_NETLIST::FORMAT, wxString > jobNetlistNameLookup
NLOHMANN_JSON_SERIALIZE_ENUM(JOB_EXPORT_SCH_NETLIST::FORMAT, { { JOB_EXPORT_SCH_NETLIST::FORMAT::KICADSEXPR, "kicad" }, { JOB_EXPORT_SCH_NETLIST::FORMAT::KICADXML, "xml" }, { JOB_EXPORT_SCH_NETLIST::FORMAT::ALLEGRO, "allegro" }, { JOB_EXPORT_SCH_NETLIST::FORMAT::PADS, "pads" }, { JOB_EXPORT_SCH_NETLIST::FORMAT::CADSTAR, "cadstar" }, { JOB_EXPORT_SCH_NETLIST::FORMAT::ORCADPCB2, "orcadpcb2" }, { JOB_EXPORT_SCH_NETLIST::FORMAT::SPICE, "spice" }, { JOB_EXPORT_SCH_NETLIST::FORMAT::SPICEMODEL, "spicemodel" }, }) JOB_EXPORT_SCH_NETLIST
#define REGISTER_JOB(job_name, title, face, T)