![]() |
LeechCraft 0.6.70-17769-g4e68d7fcba
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. | |
Public Member Functions | |
| virtual | ~ILyricsFinder () |
| virtual QFuture< LyricsQueryResult_t > | RequestLyrics (const LyricsQuery &query)=0 |
| Requests searching for lyrics for the given query. | |
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. |