+ bool can_reference_audio (std::shared_ptr<const Film> film, std::string &) const;
+
+ void set_reference_text (TextType type, bool r);
+
+ /** @param type Original type of texts in the DCP.
+ * @return true if these texts are to be referenced.
+ */
+ bool reference_text (TextType type) const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _reference_text[static_cast<int>(type)];
+ }
+
+ bool can_reference_text (std::shared_ptr<const Film> film, TextType type, std::string &) const;
+
+ void set_cpl (std::string id);
+
+ boost::optional<std::string> cpl () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _cpl;
+ }
+
+ std::string name () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _name;
+ }