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

Go to the source code of this file.

Functions

wxString GenerateFootprintInfo (FP_LIB_TABLE *aFpLibTable, LIB_ID const &aLibId)
 Return an HTML page describing a LIB_ID in a FP_LIB_TABLE. More...
 

Function Documentation

wxString GenerateFootprintInfo ( FP_LIB_TABLE aFpLibTable,
LIB_ID const &  aLibId 
)

Return an HTML page describing a LIB_ID in a FP_LIB_TABLE.

This is suitable for inclusion in a wxHtmlWindow.

Definition at line 136 of file generate_footprint_info.cpp.

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

Referenced by FP_TREE_MODEL_ADAPTER::GenerateInfo().

137 {
138  FOOTPRINT_INFO_GENERATOR gen( aFpLibTable, aLibId );
139  gen.GenerateHtml();
140  return gen.GetHtml();
141 }