Playlist: Use InternetServicePtr
This commit is contained in:
parent
567bad33e1
commit
eee0c40132
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue