Eeschema: add save code to legacy symbol library plugin.

Make LIB_PART copy constructor take a const LIB_PART reference.

Add SaveSymbol to legacy symbol library plugin.

Add removeAlias to legacy symbol library cache.

Add AddSymbol to legacy symbol library cache.
This commit is contained in:
Wayne Stambaugh
2016-09-17 14:45:01 -04:00
parent 6117713f33
commit 3ae240ea46
7 changed files with 132 additions and 18 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ bool PART_LIB::AddPart( LIB_PART* aPart )
}
// add a clone, not the caller's copy
LIB_PART* my_part = new LIB_PART( *aPart, this );
LIB_PART* my_part = new LIB_PART( *aPart );
for( size_t i = 0; i < my_part->m_aliases.size(); i++ )
{