LeechCraft  0.6.70-6645-gcd10d7e
Modular cross-platform feature rich live environment.
Media::IArtistBioFetcher Class Referenceabstract

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 IPendingArtistBioRequestArtistBio (const QString &artist, bool additionalImages=true)=0
 Requests the biography of the given artist. More...
 

Detailed Description

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 150 of file iartistbiofetcher.h.

Constructor & Destructor Documentation

virtual Media::IArtistBioFetcher::~IArtistBioFetcher ( )
inlinevirtual

Definition at line 153 of file iartistbiofetcher.h.

References Q_DECLARE_INTERFACE().

+ Here is the call graph for this function:

Member Function Documentation

virtual QString Media::IArtistBioFetcher::GetServiceName ( ) const
pure virtual

Returns the service name.

This string returns a human-readable string with the service name, like "Last.FM".

Returns
The human-readable service name.
virtual IPendingArtistBio* Media::IArtistBioFetcher::RequestArtistBio ( const QString &  artist,
bool  additionalImages = true 
)
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.

Parameters
[in]artistThe artist name.
[in]additionalImagesWhether additional images for the ArtistBio::OtherImages_ field should be requested.
Returns
The pending biography search handle.

The documentation for this class was generated from the following file: