LTspice importer - remove dead code
This commit is contained in:
parent
df63ca0189
commit
6539171459
|
@ -98,11 +98,7 @@ SCH_SHEET* SCH_LTSPICE_PLUGIN::Load( const wxString& aFileName, SCHEMATIC* aSche
|
|||
}
|
||||
|
||||
LTSPICE_SCHEMATIC ascFile( aFileName, ltspiceDataDir, nullptr, nullptr );
|
||||
SCH_PLUGIN::SCH_PLUGIN_RELEASER sch_plugin;
|
||||
|
||||
sch_plugin.set( SCH_IO_MGR::FindPlugin( SCH_IO_MGR::SCH_KICAD ) );
|
||||
|
||||
ascFile.Load( aSchematic, rootSheet, &sch_plugin, aFileName );
|
||||
ascFile.Load( aSchematic, rootSheet, aFileName );
|
||||
|
||||
aSchematic->CurrentSheet().UpdateAllScreenReferences();
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
|
||||
void LTSPICE_SCHEMATIC::Load( SCHEMATIC* aSchematic, SCH_SHEET* aRootSheet,
|
||||
SCH_PLUGIN::SCH_PLUGIN_RELEASER* aSchPlugin,
|
||||
const wxFileName& aLibraryFileName )
|
||||
{
|
||||
std::vector<LTSPICE_FILE> sourceFiles;
|
||||
|
|
|
@ -290,11 +290,9 @@ public:
|
|||
*
|
||||
* @param aSchematic is the schematic object.
|
||||
* @param aRootSheet is the root sheet referencing variable.
|
||||
* @param aSchPlugin is plugin releaser object, used to free memory when loading is done.
|
||||
* @param aLibraryFileName is the name of the library which gets created when the plugin runs.
|
||||
*/
|
||||
void Load( SCHEMATIC* aSchematic, SCH_SHEET* aRootSheet,
|
||||
SCH_PLUGIN::SCH_PLUGIN_RELEASER* aSchPlugin, const wxFileName& aLibraryFileName );
|
||||
void Load( SCHEMATIC* aSchematic, SCH_SHEET* aRootSheet, const wxFileName& aLibraryFileName );
|
||||
|
||||
/**
|
||||
* Used to check if the given symbol is subschematic or not.
|
||||
|
|
Loading…
Reference in New Issue