Added a play/add all on tracks view

This commit is contained in:
emeric
2018-02-25 08:57:05 +01:00
parent fe53103445
commit aa54b5b599
12 changed files with 84 additions and 18 deletions
+1 -1
View File
@@ -50,10 +50,10 @@ class Playlist : public Wt::Dbo::Dbo<Playlist>
bool isPublic() const { return _isPublic; }
// Modifiers
void addTrack(Wt::Dbo::ptr<Track> track);
void clear() { _entries.clear(); }
// Get tracks, ordered by position
std::size_t getCount() const;
std::vector<Wt::Dbo::ptr<Track>> getTracks(int offset, int size, bool& moreResults) const;
template<class Action>