Make it possible to write subtitle assets without any <Font> tags.
[libdcp.git] / src / interop_subtitle_asset.h
index 3005c8fc1249cb7fc6e16b8902dda55d3638af9d..83f552fd30c5fa7a940f4270f70aa32110be15f9 100644 (file)
@@ -76,10 +76,10 @@ public:
 
        void add_font (std::string load_id, dcp::ArrayData data) override;
 
-       std::string xml_as_string () const override;
+       std::string xml_as_string(FontTags font_tags = FontTags::INCLUDE) const override;
 
        /** Write this content to an XML file with its fonts alongside */
-       void write (boost::filesystem::path path) const override;
+       void write(boost::filesystem::path path, FontTags font_tags = FontTags::INCLUDE) const override;
 
        void resolve_fonts (std::vector<std::shared_ptr<Asset>> assets);
        void set_font_file (std::string load_id, boost::filesystem::path file);