21#ifndef SAYONARA_PLAYER_PLAYLISTMODIFIERS_H
22#define SAYONARA_PLAYER_PLAYLISTMODIFIERS_H
24#include "Utils/typedefs.h"
25#include "Utils/Library/Sortorder.h"
45 enum class Operation :
58 void reverse(Playlist& playlist, Reason reason);
59 void randomize(Playlist& playlist, Reason reason);
60 void sortTracks(Playlist& playlist, Library::TrackSortorder sortOrder, Reason reason);
62 IndexSet moveTracks(Playlist& playlist,
const IndexSet& indexes,
int targetRow, Reason reason);
63 IndexSet copyTracks(Playlist& playlist,
const IndexSet& indexes,
int targetRow, Reason reason);
64 void insertTracks(Playlist& playlist,
const MetaDataList& tracks,
int targetRow, Reason reason);
65 void appendTracks(Playlist& playlist,
const MetaDataList& tracks, Reason reason);
66 void removeTracks(Playlist& playlist,
const IndexSet& indexes, Reason reason);
67 void clear(Playlist& playlist, Reason reason);
68 int count(
const Playlist& playlist);
69 void enableAll(Playlist& playlist, Reason reason);
71 MilliSeconds runningTime(
const Playlist& playlist);
72 void jumpToNextAlbum(Playlist& playlist);
73 int currentTrackWithoutDisabled(
const Playlist& playlist);
A set structure. Inherited from std::set with some useful methods. For integer and String this set is...
Definition SetFwd.h:27