22#ifndef FOOTPRINT_LIBRARY_ADAPTER_H
23#define FOOTPRINT_LIBRARY_ADAPTER_H
52 std::optional<LIB_STATUS>
LoadOne(
const wxString& aNickname );
60 std::vector<FOOTPRINT*>
GetFootprints(
const wxString& aNickname,
bool aBestEfforts =
false );
69 std::vector<wxString>
GetFootprintNames(
const wxString& aNickname,
bool aBestEfforts =
false );
79 bool FootprintExists(
const wxString& aNickname,
const wxString& aName );
143 bool aOverwrite =
true );
152 void DeleteFootprint(
const wxString& aNickname,
const wxString& aFootprintName );
A wrapper for static data that should not be destroyed at program exit.
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.
Utilities for intentionally "leaking" memory at program exit.
tl::expected< ResultType, LIBRARY_ERROR > LIBRARY_RESULT
Storage for an actual loaded library (including library content owned by the plugin)