X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsubrip_content.h;h=0202e21d7f32eb782a81989cc27947c75ea748fe;hb=4dbc6ef917aeceb906b1ef1caf6911033e7e2c54;hp=3a8380cec56e1846060c3eacad2ecf4ea7dac1f8;hpb=a4c19a34244aeaf183c25878933b570fc5c0ee34;p=dcpomatic.git diff --git a/src/lib/subrip_content.h b/src/lib/subrip_content.h index 3a8380cec..0202e21d7 100644 --- a/src/lib/subrip_content.h +++ b/src/lib/subrip_content.h @@ -23,20 +23,27 @@ class SubRipContent : public SubtitleContent { public: SubRipContent (boost::shared_ptr, boost::filesystem::path); - SubRipContent (boost::shared_ptr, boost::shared_ptr, int); + SubRipContent (boost::shared_ptr, cxml::ConstNodePtr, int); boost::shared_ptr shared_from_this () { return boost::dynamic_pointer_cast (Content::shared_from_this ()); } - void examine (boost::shared_ptr); + /* Content */ + void examine (boost::shared_ptr, bool calculate_digest); std::string summary () const; std::string technical_summary () const; std::string information () const; void as_xml (xmlpp::Node *) const; DCPTime full_length () const; - std::string identifier () const; + /* SubtitleContent */ + bool has_subtitles () const { + return true; + } + + static std::string const font_id; + private: DCPTime _length; };