KiCad PCB EDA Suite
generate_alias_info.h File Reference
#include <wx/string.h>

Go to the source code of this file.

Functions

wxString GenerateAliasInfo (SYMBOL_LIB_TABLE *aSymLibTable, LIB_ID const &aLibId, int aUnit)
 Return an HTML page describing a LIB_ID in a SYMBOL_LIB_TABLE. More...
 

Function Documentation

wxString GenerateAliasInfo ( SYMBOL_LIB_TABLE aSymLibTable,
LIB_ID const &  aLibId,
int  aUnit 
)

Return an HTML page describing a LIB_ID in a SYMBOL_LIB_TABLE.

This is suitable for inclusion in a wxHtmlWindow.

Definition at line 203 of file generate_alias_info.cpp.

References ALIAS_INFO_GENERATOR::GenerateHtml(), and ALIAS_INFO_GENERATOR::GetHtml().

Referenced by COMPONENT_TREE::onPreselect().

204 {
205  ALIAS_INFO_GENERATOR gen( aSymLibTable, aLibId, aUnit );
206  gen.GenerateHtml();
207  return gen.GetHtml();
208 }