LeechCraft 0.6.70-14794-g33744ae6ce
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
isimilarartists.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#pragma once
10
11#include <QString>
12#include <QtPlugin>
13#include "audiostructs.h"
14
15template<typename>
16class QFuture;
17
18namespace Media
19{
27 class Q_DECL_EXPORT ISimilarArtists
28 {
29 public:
30 virtual ~ISimilarArtists () {}
31
50 virtual QFuture<SimilarityQueryResult_t> GetSimilarArtists (const QString& artistName, int count) = 0;
51 };
52}
53
54Q_DECLARE_INTERFACE (Media::ISimilarArtists, "org.LeechCraft.Media.ISimilarArtists/1.0")
Interface for plugins supporting similar artists.
virtual QFuture< SimilarityQueryResult_t > GetSimilarArtists(const QString &artistName, int count)=0
Requests the recommended artists.