Allow CCAP reel nodes to have language tags.
[libdcp.git] / src / reel_asset.h
index af367cd3a0a79ac067ff746cfb89f691d5a4426e..42409ab968d81cece48c499ca46819b995ed604c 100644 (file)
@@ -69,7 +69,7 @@ public:
        ReelAsset (boost::shared_ptr<Asset> asset, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point);
        explicit ReelAsset (boost::shared_ptr<const cxml::Node>);
 
-       virtual void write_to_cpl (xmlpp::Node* node, Standard standard) const;
+       virtual xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard) const;
        virtual bool equals (boost::shared_ptr<const ReelAsset>, EqualityOptions, NoteHandler) const;
 
        /** @return a Ref to our actual asset */
@@ -113,6 +113,10 @@ public:
                return _hash;
        }
 
+       std::string annotation_text () const {
+               return _annotation_text;
+       }
+
        void set_annotation_text (std::string at) {
                _annotation_text = at;
        }