diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-12-20 00:07:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-22 01:21:00 +0100 |
| commit | 868078a89decdbc9a9149684364a8ed11e28d309 (patch) | |
| tree | 6be7503d3124d2985a60a0c2ebc0136e14448832 /src | |
| parent | 65bf2fafcc84895ff6ea855ccd94393ec917b5dd (diff) | |
Add accessors.
Diffstat (limited to 'src')
| -rw-r--r-- | src/cpl.h | 4 | ||||
| -rw-r--r-- | src/reel_markers_asset.h | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -149,6 +149,10 @@ public: _ratings = r; } + std::string content_version_label_text () const { + return _content_version_label_text; + } + static std::string static_pkl_type (Standard standard); protected: diff --git a/src/reel_markers_asset.h b/src/reel_markers_asset.h index ac91a94b..24dff222 100644 --- a/src/reel_markers_asset.h +++ b/src/reel_markers_asset.h @@ -49,6 +49,9 @@ public: void set (Marker, Time); void unset (Marker); boost::optional<Time> get (Marker m) const; + std::map<Marker, Time> get () const { + return _markers; + } protected: std::string cpl_node_name (Standard) const; |
