22#ifndef SYMBOL_TREE_MODEL_ADAPTER_H
23#define SYMBOL_TREE_MODEL_ADAPTER_H
57 void AddLibrary( wxString
const& aLibNickname,
bool pinned );
A logical library item identifier and consists of various portions much like a URI.
Manage LIB_TABLE_ROW records (rows), and can be searched based on library nickname.
A shim class between EDA_DRAW_FRAME and several derived classes: SYMBOL_EDIT_FRAME,...
wxString GenerateInfo(LIB_ID const &aLibId, int aUnit) override
bool AddLibraries(const std::vector< wxString > &aNicknames, SCH_BASE_FRAME *aFrame)
Add all the libraries in a SYMBOL_LIB_TABLE to the model.
static wxObjectDataPtr< LIB_TREE_MODEL_ADAPTER > Create(SCH_BASE_FRAME *aParent, LIB_TABLE *aLibs)
Factory function: create a model adapter in a reference-counting container.
static bool m_show_progress
Flag to only show the symbol library table load progress dialog the first time.
void AddLibrary(wxString const &aLibNickname, bool pinned)
PROJECT::LIB_TYPE_T getLibType() override
~SYMBOL_TREE_MODEL_ADAPTER()
Destructor.
SYMBOL_LIB_TABLE * m_libs