LeechCraft  0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
Media::IAlbumArtProvider Class Referenceabstract

Interface for plugins that can search for album art. More...

#include "ialbumartprovider.h"

Classes

struct  AlbumArtResponse
 

Public Types

using Channel_t = LC::Util::Channel_ptr< AlbumArtResponse >
 

Public Member Functions

virtual Channel_t RequestAlbumArt (const AlbumInfo &album) const =0
 Initiates search for album art of the given album. More...
 

Protected Member Functions

virtual ~IAlbumArtProvider ()=default
 

Detailed Description

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.

Definition at line 55 of file ialbumartprovider.h.

Member Typedef Documentation

◆ Channel_t

Constructor & Destructor Documentation

◆ ~IAlbumArtProvider()

virtual Media::IAlbumArtProvider::~IAlbumArtProvider ( )
protectedvirtualdefault

Member Function Documentation

◆ RequestAlbumArt()

virtual Channel_t Media::IAlbumArtProvider::RequestAlbumArt ( const AlbumInfo album) const
pure virtual

Initiates search for album art of the given album.

This function initiates searching for the album art of the given album and returns a channel for the album art search results.

Parameters
[in]albumThe description of the album.
Returns
The channel with the album art search results.

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