![]()  | 
  
    LeechCraft
    0.6.70-15082-g543737046d
    
   Modular cross-platform feature rich live environment. 
   | 
 
Interface for plugins supporting similar artists. More...
#include "isimilarartists.h"
Public Member Functions | |
| virtual | ~ISimilarArtists () | 
| virtual QFuture< SimilarityQueryResult_t > | GetSimilarArtists (const QString &artistName, int count)=0 | 
| Requests the recommended artists.  More... | |
Interface for plugins supporting similar artists.
If a plugin supports fetching artists similar to another one it should implement this interface.
Definition at line 27 of file isimilarartists.h.
      
  | 
  inlinevirtual | 
Definition at line 30 of file isimilarartists.h.
      
  | 
  pure virtual | 
Requests the recommended artists.
This function initiates request for the list of artists similar to a given one and returns a handle through which the results of this search could be obtained. The handle owns itself and deletes itself after results are available — see its documentation for more details.
The results of the returned handle will typically have only SimilarityInfo::Similarity_ field set, while SimilarityInfo::SimilarTo_ field is unset. The Similarity field should be interpreted as some kind of "match percentage" displaying how much two artists resemble each other.
| [in] | artistName | The name of the artist for which to fetch similar artists. | 
| [in] | count | The number of recommended artists to fetch. |