Make subtitles work at least a bit.
[dcpomatic.git] / src / lib / subtitle_decoder.h
index 0c299f61f24a62a47190a61637a6d81e28e601a5..628f4d60d6da6b61a49fefcc26671bdcac4cd047 100644 (file)
@@ -19,6 +19,8 @@
 
 #include <boost/signals2.hpp>
 #include "decoder.h"
+#include "rect.h"
+#include "types.h"
 
 class Film;
 class TimedSubtitle;
@@ -28,8 +30,8 @@ class SubtitleDecoder : public virtual Decoder
 public:
        SubtitleDecoder (boost::shared_ptr<const Film>);
 
-       boost::signals2::signal<void (boost::shared_ptr<TimedSubtitle>)> Subtitle;
+       boost::signals2::signal<void (boost::shared_ptr<Image>, dcpomatic::Rect<double>, Time, Time)> Subtitle;
 
 protected:
-       void subtitle (boost::shared_ptr<TimedSubtitle>);
+       void subtitle (boost::shared_ptr<Image>, dcpomatic::Rect<double>, Time, Time);
 };