24 #include "PlaylistDBInterface.h"
25 #include "PlaylistStopBehavior.h"
26 #include "Utils/Playlist/PlaylistFwd.h"
27 #include "Utils/Playlist/PlaylistMode.h"
28 #include "Utils/Pimpl.h"
49 void sig_items_changed(
int idx);
50 void sig_current_track_changed(
int idx);
52 void sig_find_track(TrackID track_id);
53 void sig_busy_changed(
bool b);
54 void sig_current_scanned_file_changed(
const QString& current_file);
57 explicit Playlist(
int idx, Type type,
const QString& name);
61 int current_track_index()
const;
64 void set_index(
int idx);
66 void set_mode(
const Mode& mode);
67 MilliSeconds running_time()
const;
68 int count()
const override;
79 void set_busy(
bool b);
82 void set_current_scanned_file(
const QString& file);
85 MetaData track(
int idx)
const override;
90 void remove_tracks(
const IndexSet& indexes);
97 void find_track(
int idx);
99 bool change_track(
int idx);
101 bool was_changed()
const override;
102 bool is_storable()
const override;
105 void metadata_deleted();
106 void metadata_changed();
107 void metadata_changed_single();
108 void duration_changed();
111 void setting_playlist_mode_changed();
114 int calc_shuffle_track();
115 void set_changed(
bool b)
override;