summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-20 00:07:45 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-22 01:21:00 +0100
commit868078a89decdbc9a9149684364a8ed11e28d309 (patch)
tree6be7503d3124d2985a60a0c2ebc0136e14448832 /src
parent65bf2fafcc84895ff6ea855ccd94393ec917b5dd (diff)
Add accessors.
Diffstat (limited to 'src')
-rw-r--r--src/cpl.h4
-rw-r--r--src/reel_markers_asset.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/cpl.h b/src/cpl.h
index 70f306bf..80951088 100644
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -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;