Playlist: Use InternetServicePtr

This commit is contained in:
Jonas Kvinge 2023-10-07 17:05:51 +02:00
parent 567bad33e1
commit eee0c40132
1 changed files with 2 additions and 2 deletions

View File

@ -48,6 +48,7 @@
#include "playlistitem.h" #include "playlistitem.h"
#include "playlistsequence.h" #include "playlistsequence.h"
#include "smartplaylists/playlistgenerator_fwd.h" #include "smartplaylists/playlistgenerator_fwd.h"
#include <internet/internetservice.h>
class QMimeData; class QMimeData;
class QUndoStack; class QUndoStack;
@ -58,7 +59,6 @@ class PlaylistBackend;
class PlaylistFilter; class PlaylistFilter;
class Queue; class Queue;
class TaskManager; class TaskManager;
class InternetService;
class RadioService; class RadioService;
namespace PlaylistUndoCommands { 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 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 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 InsertSmartPlaylist(PlaylistGeneratorPtr gen, const int pos = -1, const bool play_now = false, const bool enqueue = false, const bool enqueue_next = false);
void InsertInternetItems(SharedPtr<InternetService> 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 InsertRadioItems(const SongList &songs, const int pos = -1, const bool play_now = false, const bool enqueue = false, const bool enqueue_next = false);
void ReshuffleIndices(); void ReshuffleIndices();