summaryrefslogtreecommitdiff
path: root/src/cpl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-17 22:06:20 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 22:06:20 +0100
commit27e4c9a264df4572b1095b3610e2a9c1980c0c2b (patch)
tree2ba2718b47c6d64202a5080d4b8bf706f60c5e24 /src/cpl.h
parent9eda188e03afb8cc4b7767a3dc073069b9669230 (diff)
Read scope attribute of ReleaseTerritory.
Diffstat (limited to 'src/cpl.h')
-rw-r--r--src/cpl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpl.h b/src/cpl.h
index 3bfffcb5..158d100f 100644
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -187,6 +187,10 @@ public:
_release_territory = t.subtag();
}
+ boost::optional<std::string> release_territory_scope () const {
+ return _release_territory_scope;
+ }
+
boost::optional<int> version_number () const {
return _version_number;
}
@@ -302,6 +306,7 @@ private:
* but must be set as a dcp::LanguageTag to try to ensure that we create compliant output.
*/
boost::optional<std::string> _release_territory;
+ boost::optional<std::string> _release_territory_scope;
boost::optional<int> _version_number;
boost::optional<Status> _status;
boost::optional<std::string> _chain;