Sayonara Player
CoverFetcherUrl.h
1 #ifndef COVERFETCHERURL_H
2 #define COVERFETCHERURL_H
3 
4 #include "Utils/Pimpl.h"
5 
6 namespace Cover::Fetcher
7 {
8  class Manager;
16  class Url
17  {
18  friend class Manager;
19  PIMPL(Url)
20 
21  private:
22  Url();
23  Url(const QString& identifier, const QString& url);
24 
25  public:
26  Url(const Url& other);
27  Url& operator=(const Url& other);
28  ~Url();
29 
30  void setIdentifier(const QString& identifier);
31  QString identifier() const;
32 
33  void setUrl(const QString& url);
34  QString url() const;
35  bool operator==(const Url& rhs) const;
36  };
37 }
38 
39 #endif // COVERFETCHERURL_H
Cover::Fetcher::Manager
Retrieve Download Urls for Cover Searcher. CoverFetcherInterface can be registered,...
Definition: CoverFetchManager.h:47
Cover::Fetcher::Url
An Url is defined by its identifier and a custom url string. The identifier is the same as being used...
Definition: CoverFetcherUrl.h:17