Adding basic radio mode

This commit is contained in:
emeric
2018-05-30 13:35:49 +02:00
parent b92717fa4f
commit e0ae294abf
8 changed files with 117 additions and 9 deletions
+2
View File
@@ -53,6 +53,8 @@ class Cluster : public Wt::Dbo::Dbo<Cluster>
const std::string& getName(void) const { return _name; }
Wt::Dbo::ptr<ClusterType> getType() const { return _clusterType; }
const Wt::Dbo::collection<Wt::Dbo::ptr<Track>>& getTracks() const { return _tracks; }
std::size_t getTrackCount() const { return _tracks.size(); }
std::vector<Wt::Dbo::ptr<Track>> getTracks(int offset, int limit) const;
void addTrack(Wt::Dbo::ptr<Track> track);