![]() |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Interface for plugins supporting finding lyrics. More...
#include "ilyricsfinder.h"
Public Types | |
using | LyricsQueryResult_t = LC::Util::Either< QString, LyricsResults > |
The result of a lyrics search query. More... | |
Public Member Functions | |
virtual | ~ILyricsFinder () |
virtual QFuture< LyricsQueryResult_t > | RequestLyrics (const LyricsQuery &query)=0 |
Requests searching for lyrics for the given query. More... | |
Interface for plugins supporting finding lyrics.
Plugins that support searching for lyrics should implement this interface.
Definition at line 76 of file ilyricsfinder.h.
using Media::ILyricsFinder::LyricsQueryResult_t = LC::Util::Either<QString, LyricsResults> |
The result of a lyrics search query.
The result of a lyrics search query is either a string with a human-readable error text, or a LyricsResults object.
Definition at line 88 of file ilyricsfinder.h.
|
inlinevirtual |
Definition at line 79 of file ilyricsfinder.h.
|
pure virtual |
Requests searching for lyrics for the given query.
The returned future potentially provides multiple results.
[in] | query | The lyrics query. |