design blocks: move globals behind accessor functions

Prepare for lazy loading
This commit is contained in:
Mike Williams
2024-09-10 15:50:03 -04:00
parent b2dda11fae
commit 2eec2489ea
8 changed files with 38 additions and 23 deletions
+12
View File
@@ -672,6 +672,18 @@ bool DESIGN_BLOCK_LIB_TABLE::LoadGlobalTable( DESIGN_BLOCK_LIB_TABLE& aTable )
}
DESIGN_BLOCK_LIB_TABLE& DESIGN_BLOCK_LIB_TABLE::GetGlobalLibTable()
{
return GDesignBlockTable;
}
DESIGN_BLOCK_LIST_IMPL& DESIGN_BLOCK_LIB_TABLE::GetGlobalList()
{
return GDesignBlockList;
}
wxString DESIGN_BLOCK_LIB_TABLE::GetGlobalTableFileName()
{
wxFileName fn;