A few missing checks on the return value of fopen_boost.
[dcpomatic.git] / src / lib / render_subtitles.h
index 743339bafc80b109be05e25d5c04549176ea509f..218b866e95cd238bcc96307b5ed0720267d52d43 100644 (file)
 
 */
 
+#include "position_image.h"
 #include <dcp/subtitle_string.h>
 #include <dcp/util.h>
-#include "position.h"
 
-class Image;
-
-void
-render_subtitles (std::list<dcp::SubtitleString>, dcp::Size, boost::shared_ptr<Image> &, Position<int> &);
+PositionImage render_subtitles (std::list<dcp::SubtitleString>, dcp::Size);