![]() |
LeechCraft
%{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
|
Interface for plugins supporting fetching artist biography. More...
#include "iartistbiofetcher.h"
Public Member Functions | |
virtual | ~IArtistBioFetcher () |
virtual QString | GetServiceName () const =0 |
Returns the service name. More... | |
virtual IPendingArtistBio * | RequestArtistBio (const QString &artist, bool additionalImages=true)=0 |
Requests the biography of the given artist. More... | |
Interface for plugins supporting fetching artist biography.
Plugins that support fetching artist biography from the sources Last.FM should implement this interface.
Definition at line 134 of file iartistbiofetcher.h.
|
inlinevirtual |
Definition at line 137 of file iartistbiofetcher.h.
|
pure virtual |
Returns the service name.
This string returns a human-readable string with the service name, like "Last.FM".
|
pure virtual |
Requests the biography of the given artist.
This function initiates a search for artist biography and returns a handle through which the results of the search could be obtained. The handle owns itself and deletes itself after results are available — see its documentation for details.
[in] | artist | The artist name. |
[in] | additionalImages | Whether additional images for the ArtistBio::OtherImages_ field should be requested. |