Add radios

This commit is contained in:
Jonas Kvinge
2021-07-11 01:02:53 +02:00
parent d07aff9872
commit 09bbf1f4d7
65 changed files with 2363 additions and 45 deletions

View File

@@ -40,7 +40,7 @@ class InternetServices : public QObject {
explicit InternetServices(QObject *parent = nullptr);
~InternetServices() override;
InternetService *ServiceBySource(const Song::Source source);
InternetService *ServiceBySource(const Song::Source source) const;
template <typename T>
T *Service() {
return static_cast<T*>(this->ServiceBySource(T::kSource));