22#ifndef FOOTPRINT_LIBRARY_ADAPTER_H
23#define FOOTPRINT_LIBRARY_ADAPTER_H
53 std::optional<LIB_STATUS>
LoadOne(
const wxString& aNickname );
56 std::optional<LIB_STATUS>
GetLibraryStatus(
const wxString& aNickname )
const override;
64 std::vector<FOOTPRINT*>
GetFootprints(
const wxString& aNickname,
bool aBestEfforts =
false );
72 std::vector<wxString>
GetFootprintNames(
const wxString& aNickname,
bool aBestEfforts =
false );
82 bool FootprintExists(
const wxString& aNickname,
const wxString& aName );
146 bool aOverwrite =
true );
155 void DeleteFootprint(
const wxString& aNickname,
const wxString& aFootprintName );
LIBRARY_MANAGER_ADAPTER(LIBRARY_MANAGER &aManager)
Constructs a type-specific adapter into the library manager.
A logical library item identifier and consists of various portions much like a URI.
const UTF8 & GetLibItemName() const
const UTF8 & GetLibNickname() const
Return the logical library name portion of a LIB_ID.
A base class that BOARD loading and saving plugins should derive from.
tl::expected< ResultType, LIBRARY_ERROR > LIBRARY_RESULT
Storage for an actual loaded library (including library content owned by the plugin)