diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-19 19:47:07 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-03-19 19:47:07 +0000 |
| commit | 3bae1fb76f8d4751ee62717e3f18cee47d1deb90 (patch) | |
| tree | a74fbc1f602586a6bfd4e8c156f73caf3b1888ec /src/cpl.h | |
| parent | 097f27fcbd28d81b1ff2ae37949b1fcc3a97a716 (diff) | |
Support RatingList.
Diffstat (limited to 'src/cpl.h')
| -rw-r--r-- | src/cpl.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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; ///< <Id> in <ContentVersion> std::string _content_version_label_text; ///< <LabelText> in <ContentVersion> std::list<boost::shared_ptr<Reel> > _reels; + std::list<Rating> _ratings; /** Standard of CPL that was read in */ boost::optional<Standard> _standard; |
