summaryrefslogtreecommitdiff
path: root/src/cpl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-03-19 19:47:07 +0000
committerCarl Hetherington <cth@carlh.net>2019-03-19 19:47:07 +0000
commit3bae1fb76f8d4751ee62717e3f18cee47d1deb90 (patch)
treea74fbc1f602586a6bfd4e8c156f73caf3b1888ec /src/cpl.h
parent097f27fcbd28d81b1ff2ae37949b1fcc3a97a716 (diff)
Support RatingList.
Diffstat (limited to 'src/cpl.h')
-rw-r--r--src/cpl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cpl.h b/src/cpl.h
index 553f5492..70f306bf 100644
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -141,6 +141,14 @@ public:
return _standard;
}
+ std::list<Rating> ratings () const {
+ return _ratings;
+ }
+
+ void set_ratings (std::list<Rating> r) {
+ _ratings = r;
+ }
+
static std::string static_pkl_type (Standard standard);
protected:
@@ -157,6 +165,7 @@ private:
std::string _content_version_id; ///< &lt;Id&gt; in &lt;ContentVersion&gt;
std::string _content_version_label_text; ///< &lt;LabelText&gt; in &lt;ContentVersion&gt;
std::list<boost::shared_ptr<Reel> > _reels;
+ std::list<Rating> _ratings;
/** Standard of CPL that was read in */
boost::optional<Standard> _standard;