From eee0c401328b7137fd8d17f5ed58893cfd03dd59 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 7 Oct 2023 17:05:51 +0200 Subject: [PATCH] Playlist: Use InternetServicePtr --- src/playlist/playlist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/playlist/playlist.h b/src/playlist/playlist.h index 2abefd77e..478477e62 100644 --- a/src/playlist/playlist.h +++ b/src/playlist/playlist.h @@ -48,6 +48,7 @@ #include "playlistitem.h" #include "playlistsequence.h" #include "smartplaylists/playlistgenerator_fwd.h" +#include class QMimeData; class QUndoStack; @@ -58,7 +59,6 @@ class PlaylistBackend; class PlaylistFilter; class Queue; class TaskManager; -class InternetService; class RadioService; namespace PlaylistUndoCommands { @@ -237,7 +237,7 @@ class Playlist : public QAbstractListModel { void InsertSongs(const SongList &songs, const int pos = -1, const bool play_now = false, const bool enqueue = false, const bool enqueue_next = false); void InsertSongsOrCollectionItems(const SongList &songs, const int pos = -1, const bool play_now = false, const bool enqueue = false, const bool enqueue_next = false); void InsertSmartPlaylist(PlaylistGeneratorPtr gen, const int pos = -1, const bool play_now = false, const bool enqueue = false, const bool enqueue_next = false); - void InsertInternetItems(SharedPtr service, const SongList &songs, const int pos = -1, const bool play_now = false, const bool enqueue = false, const bool enqueue_next = false); + void InsertInternetItems(InternetServicePtr service, const SongList &songs, const int pos = -1, const bool play_now = false, const bool enqueue = false, const bool enqueue_next = false); void InsertRadioItems(const SongList &songs, const int pos = -1, const bool play_now = false, const bool enqueue = false, const bool enqueue_next = false); void ReshuffleIndices();