LeechCraft  0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
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 
15 template<typename>
16 class QFuture;
17 
18 namespace 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 
54 Q_DECLARE_INTERFACE (Media::ISimilarArtists, "org.LeechCraft.Media.ISimilarArtists/1.0")
constexpr detail::AggregateType< detail::AggregateFunction::Count, Ptr > count
Definition: oral.h:965
Interface for plugins supporting similar artists.