29#include <api/board/board_types.pb.h>
39 const wxString& aNickname )
const
50 std::unique_ptr<FOOTPRINT> footprint( adapter->
LoadFootprint( aId,
false ) );
55 kiapi::board::types::Footprint definition;
56 footprint->SerializeDefinition( &definition );
58 aOutput.PackFrom( definition );
LIBRARY_MANAGER_ADAPTER * adapterForProject(PROJECT &aProject) const override
std::vector< wxString > getItemNames(LIBRARY_MANAGER_ADAPTER &aAdapter, const wxString &aNickname) const override
Returns the names of all entries in the given library, or an empty vector if the library is not loade...
bool packLibraryItem(const LIB_ID &aId, google::protobuf::Any &aOutput) const override
The interface used by the classes that actually can load IO plugins for the different parts of KiCad ...
A logical library item identifier and consists of various portions much like a URI.
static FOOTPRINT_LIBRARY_ADAPTER * FootprintLibAdapter(PROJECT *aProject)
Container for project specific data.
PGM_BASE & Pgm()
The global program "get" accessor.