X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_subtitle_content.h;h=5949f8b0ba5ef866b68a418379ff98c182b0053f;hb=790db8faab093231664c402fcc33b0b96687e222;hp=36945adcdb4af8bdba3d696679ee811a1adc43a1;hpb=1a693725f9a8cc6ba58f65b2f1ef03255d295f23;p=dcpomatic.git diff --git a/src/lib/dcp_subtitle_content.h b/src/lib/dcp_subtitle_content.h index 36945adcd..5949f8b0b 100644 --- a/src/lib/dcp_subtitle_content.h +++ b/src/lib/dcp_subtitle_content.h @@ -24,15 +24,16 @@ class DCPSubtitleContent : public DCPSubtitle, public Content { public: - DCPSubtitleContent (boost::shared_ptr, boost::filesystem::path); - DCPSubtitleContent (boost::shared_ptr, cxml::ConstNodePtr, int); + DCPSubtitleContent (boost::filesystem::path); + DCPSubtitleContent (cxml::ConstNodePtr, int); - void examine (boost::shared_ptr); - std::string summary () const; - std::string technical_summary () const; - void as_xml (xmlpp::Node *, bool with_paths) const; - DCPTime full_length () const; + void examine (std::shared_ptr film, std::shared_ptr) 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 film) const override; + dcpomatic::DCPTime approximate_length () const override; private: - ContentTime _length; + dcpomatic::ContentTime _length; };