X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fsubrip_content.h;h=d2dcdee00b09cce5e1b014dba924fd0b09bea8ff;hb=3c4eb194c031950165ab63785368784a38bd752d;hp=3a8380cec56e1846060c3eacad2ecf4ea7dac1f8;hpb=034feb503b0a38eb82c21ae8d9f83522fc63a25c;p=dcpomatic.git diff --git a/src/lib/subrip_content.h b/src/lib/subrip_content.h index 3a8380cec..d2dcdee00 100644 --- a/src/lib/subrip_content.h +++ b/src/lib/subrip_content.h @@ -23,19 +23,24 @@ 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 ()); } + /* Content */ void examine (boost::shared_ptr); 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; + } private: DCPTime _length;