Prevent erroneous creation of subtitle MXF where there are no subtitles.
[dcpomatic.git] / src / lib / subtitle_content.h
index b73119bdb9dccef91e87e516f3b1c475da3fdfda..1425c33cd695ff5a06941e11db27cd5386c7000b 100644 (file)
@@ -34,11 +34,13 @@ public:
 class SubtitleContent : public virtual Content
 {
 public:
+       SubtitleContent (boost::shared_ptr<const Film>);
        SubtitleContent (boost::shared_ptr<const Film>, boost::filesystem::path);
        SubtitleContent (boost::shared_ptr<const Film>, cxml::ConstNodePtr, int version);
        SubtitleContent (boost::shared_ptr<const Film>, std::vector<boost::shared_ptr<Content> >);
 
        void as_xml (xmlpp::Node *) const;
+       std::string identifier () const;
 
        void set_subtitle_use (bool);
        void set_subtitle_x_offset (double);