KiCad PCB EDA Suite
generate_alias_info.h File Reference
#include <class_libentry.h>

Go to the source code of this file.


wxString GenerateAliasInfo (LIB_ALIAS const *aAlias, int aUnit)
 Return an HTML page describing a LIB_ALIAS. More...

Function Documentation

wxString GenerateAliasInfo ( LIB_ALIAS const *  aAlias,
int  aUnit 

Return an HTML page describing a LIB_ALIAS.

This is suitable for inclusion in a wxHtmlWindow.

Definition at line 183 of file generate_alias_info.cpp.

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

Referenced by DIALOG_CHOOSE_COMPONENT::OnTreeSelect().

184 {
185  ALIAS_INFO_GENERATOR gen( aAlias, aUnit );
186  gen.GenerateHtml();
187  return gen.GetHtml();
188 }