diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-10 22:41:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-10 22:41:48 +0100 |
| commit | a8af9a0b57b853b8a8cd8fa35adb3fc967d59ee7 (patch) | |
| tree | 9493b374153de99bc220138361420c5abe85b16e /src/lib/dcp_subtitle_content.h | |
| parent | 8d58a7c5f4320ad5c111e336c45e44d6b51ab509 (diff) | |
Add has_subtitles method to SubtitleContent; tidy up timeline display a bit.
Diffstat (limited to 'src/lib/dcp_subtitle_content.h')
| -rw-r--r-- | src/lib/dcp_subtitle_content.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/dcp_subtitle_content.h b/src/lib/dcp_subtitle_content.h index 79338c1af..5794b5951 100644 --- a/src/lib/dcp_subtitle_content.h +++ b/src/lib/dcp_subtitle_content.h @@ -25,6 +25,7 @@ public: DCPSubtitleContent (boost::shared_ptr<const Film>, boost::filesystem::path); DCPSubtitleContent (boost::shared_ptr<const Film>, cxml::ConstNodePtr, int); + /* Content */ void examine (boost::shared_ptr<Job>); std::string summary () const; std::string technical_summary () const; @@ -32,6 +33,11 @@ public: void as_xml (xmlpp::Node *) const; DCPTime full_length () const; + /* SubtitleContent */ + bool has_subtitles () const { + return true; + } + private: DCPTime _length; }; |
