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