Merge 1.0-seek and subtitle-content.
[dcpomatic.git] / src / lib / subtitle_decoder.h
index fd1d71f33fdef23b3ef8ed7b5d69140baa4ed2cb..82662d192fbd1295d8574d7001b44d413984c353 100644 (file)
 
 */
 
+#ifndef DCPOMATIC_SUBTITLE_DECODER_H
+#define DCPOMATIC_SUBTITLE_DECODER_H
+
 #include <boost/signals2.hpp>
+#include <libdcp/subtitle_asset.h>
 #include "decoder.h"
 #include "rect.h"
 #include "types.h"
@@ -33,5 +37,8 @@ public:
        SubtitleDecoder (boost::shared_ptr<const Film>);
 
 protected:
-       void subtitle (boost::shared_ptr<Image>, dcpomatic::Rect<double>, ContentTime, ContentTime);
+       void image_subtitle (boost::shared_ptr<Image>, dcpomatic::Rect<double>, ContentTime, ContentTime);
+       void text_subtitle (std::list<libdcp::Subtitle>);
 };
+
+#endif