 |
Sayonara Player
|
24 #include "Utils/Pimpl.h"
40 ArtistDesc(
const QString& artist_name,
const QString& mbid);
42 bool operator ==(
const ArtistDesc& other)
const;
43 bool operator <(
const ArtistDesc& other)
const;
44 bool operator <=(
const ArtistDesc& other)
const;
46 QString to_string()
const;
85 void add(
const ArtistDesc& artist,
double match);
108 #endif // ARTISTMATCH_H
void add(const ArtistDesc &artist, double match)
adds an artist string to the corresponding bin
Quality
The Quality enum used to access the bin of interest. See ArtistMatch::get(Quality q)
Definition: ArtistMatch.h:52
bool is_valid() const
checks, if structure is valid.
QString to_string() const
converts the artist match to string
Definition: org_mpris_media_player2_adaptor.h:21
QString get_artist_name() const
get the corresponding artist name of the ArtistMatch structure
QMap< ArtistDesc, double > get(Quality q) const
get bin by quality
Definition: ArtistMatch.h:29
bool operator==(const ArtistMatch &am) const
Compares two ArtistMatch structures.
Definition: ArtistMatch.h:35