Note that newer libsub version is required.
[dcpomatic.git] / src / lib / dcp_subtitle_content.h
index 5ff4095469cbba0c70d7df749dff868363f78776..89a6f26a2b28dd34e7df1cc58e42669b3db44687 100644 (file)
@@ -27,13 +27,15 @@ public:
        DCPSubtitleContent (boost::filesystem::path);
        DCPSubtitleContent (cxml::ConstNodePtr, int);
 
-       void examine (boost::shared_ptr<const Film> film, boost::shared_ptr<Job>);
-       std::string summary () const;
-       std::string technical_summary () const;
-       void as_xml (xmlpp::Node *, bool with_paths) const;
-       dcpomatic::DCPTime full_length (boost::shared_ptr<const Film> film) const;
-       dcpomatic::DCPTime approximate_length () const;
+       void examine (std::shared_ptr<const Film> film, std::shared_ptr<Job>) override;
+       std::string summary () const override;
+       std::string technical_summary () const override;
+       void as_xml (xmlpp::Node *, bool with_paths) const override;
+       dcpomatic::DCPTime full_length (std::shared_ptr<const Film> film) const override;
+       dcpomatic::DCPTime approximate_length () const override;
 
 private:
+       void add_fonts(std::shared_ptr<TextContent> content, std::shared_ptr<dcp::SubtitleAsset> subtitle_asset);
+
        dcpomatic::ContentTime _length;
 };