Adding tags in the tracks view

This commit is contained in:
emeric
2018-05-17 13:45:22 +02:00
parent 6685795b9c
commit a4788320a6
11 changed files with 184 additions and 75 deletions
+3 -2
View File
@@ -120,8 +120,7 @@ class ClusterType : public Wt::Dbo::Dbo<ClusterType>
Wt::Dbo::collection< Wt::Dbo::ptr<Cluster> > _clusters;
};
class Track
class Track : public Wt::Dbo::Dbo<Cluster>
{
public:
@@ -197,6 +196,8 @@ class Track
Wt::Dbo::ptr<Release> getRelease(void) const { return _release; }
std::vector< Cluster::pointer > getClusters(void) const;
std::vector<std::vector<Wt::Dbo::ptr<Cluster>>> getClusterGroups(std::vector<Wt::Dbo::ptr<ClusterType>> clusterTypes, std::size_t size) const;
template<class Action>
void persist(Action& a)
{