Miam-Player  0.8.0
A nice music player
lastfmprovider.h
Go to the documentation of this file.
1 #ifndef LASTFMPROVIDER_H
2 #define LASTFMPROVIDER_H
3 
4 #include "coverartprovider.h"
5 
12 {
13 public:
14  explicit LastFMProvider(QNetworkAccessManager *parent);
15 
16  virtual QUrl query(const QString &artist, const QString &album) override;
17 
18  virtual QUrl album(const QString &expr) override;
19 
20  inline virtual ProviderType type() override { return PT_LastFM; }
21 };
22 
23 #endif // LASTFMPROVIDER_H
The LastFMProvider class.
Definition: lastfmprovider.h:11
#define MIAMCOVERFETCHER_LIBRARY
Definition: miamcoverfetcher_global.hpp:8
virtual QUrl album(const QString &)=0
ProviderType
Definition: coverartprovider.h:33
The CoverArtProvider class is an abstract class for registering various webservices.
Definition: coverartprovider.h:15
Definition: coverartprovider.h:38
virtual ProviderType type() override
Definition: lastfmprovider.h:20
virtual QUrl query(const QString &artist, const QString &album)=0