Store mtime in Content.
[dcpomatic.git] / src / lib / text_decoder.h
index f9d021b3f22581f79b5a921abf06358d06e0db44..25125e701ae07d5365fbe1a444ae44f507e2311f 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2017 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2018 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -18,8 +18,8 @@
 
 */
 
-#ifndef DCPOMATIC_SUBTITLE_DECODER_H
-#define DCPOMATIC_SUBTITLE_DECODER_H
+#ifndef DCPOMATIC_CAPTION_DECODER_H
+#define DCPOMATIC_CAPTION_DECODER_H
 
 #include "decoder.h"
 #include "rect.h"
@@ -63,8 +63,8 @@ public:
        }
 
        boost::signals2::signal<void (ContentBitmapText)> BitmapStart;
-       boost::signals2::signal<void (ContentPlainText)> PlainStart;
-       boost::signals2::signal<void (ContentTime)> Stop;
+       boost::signals2::signal<void (ContentStringText)> PlainStart;
+       boost::signals2::signal<void (ContentTime, TextType)> Stop;
 
 private:
        boost::shared_ptr<const TextContent> _content;