![]() |
LeechCraft
%{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
|
Interface for plugins that can search for album art. More...
#include "ialbumartprovider.h"
Public Member Functions | |
virtual | ~IAlbumArtProvider () |
virtual QString | GetAlbumArtProviderName () const =0 |
Returns the human-readable name of this provider. More... | |
virtual void | RequestAlbumArt (const AlbumInfo &album) const =0 |
Initiates search for album art of the given album. More... | |
Protected Member Functions | |
virtual void | gotAlbumArt (const AlbumInfo &album, const QList< QImage > &arts)=0 |
Emitted when album art for the given album is available. More... | |
Interface for plugins that can search for album art.
Plugins that can search for album art (like on Amazon or Last.FM) should implement this interface.
Album art lookup is asynchronous in nature: one first initiates a search via RequestAlbumArt() method and then listens for the gotAlbumArt() signal.
Definition at line 77 of file ialbumartprovider.h.
|
inlinevirtual |
Definition at line 80 of file ialbumartprovider.h.
|
pure virtual |
Returns the human-readable name of this provider.
|
protectedpure virtual |
Emitted when album art for the given album is available.
This signal should be emitted by the implementation even if no album art is found for the given album.
[in] | album | The album for which the album art is found. |
[in] | arts | The list of album covers that were found. The list may be empty. |
|
pure virtual |
Initiates search for album art of the given album.
[in] | album | The information about the album. |