LeechCraft
0.6.70-15082-g543737046d
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"
)
Media::ISimilarArtists::~ISimilarArtists
virtual ~ISimilarArtists()
Definition:
isimilarartists.h:30
Media::ISimilarArtists
Interface for plugins supporting similar artists.
Definition:
isimilarartists.h:27
LC::Util::oral::sph::count
constexpr detail::AggregateType< detail::AggregateFunction::Count, Ptr > count
Definition:
oral.h:966
Media
Definition:
audiostructs.h:16
audiostructs.h
QFuture
Definition:
idownload.h:17
src
interfaces
media
isimilarartists.h
Generated by
1.8.17