![]() |
LeechCraft
0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
|
Interface for plugins supporting finding lyrics. More...
#include "ilyricsfinder.h"
Public Member Functions | |
virtual | ~ILyricsFinder () |
virtual void | RequestLyrics (const LyricsQuery &query, QueryOptions options=NoOption)=0 |
Requests searching for lyrics for the given query. More... | |
Protected Member Functions | |
virtual void | gotLyrics (const LyricsResults &results)=0 |
Emitted when search for lyrics is complete. More... | |
Interface for plugins supporting finding lyrics.
Plugins that support searching for lyrics should implement this interface.
Fetching lyrics is asynchronous in nature, so one should request fetching the lyrics via RequestLyrics() method and wait for the gotLyrics() signal with the corresponding query parameter.
Definition at line 134 of file ilyricsfinder.h.
|
inlinevirtual |
Definition at line 137 of file ilyricsfinder.h.
|
protectedpure virtual |
Emitted when search for lyrics is complete.
It is OK to emit this signal multiple times for a single query.
[out] | results | The results of the lyrics query, containing the original query and the actual results. |
|
pure virtual |
Requests searching for lyrics for the given query.
[in] | query | The lyrics query. |
[in] | options | Additional search options. |