X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fwriter.h;h=d304133dcb98f2c3d380e191fda78d0d0eef61b1;hb=ddccef68ae80bac6b4aa8583dd8e0a7c943b535c;hp=ce1d04cedb8c239087bd444c05daa4f859f20b14;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git diff --git a/src/lib/writer.h b/src/lib/writer.h index ce1d04ced..d304133dc 100644 --- a/src/lib/writer.h +++ b/src/lib/writer.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2018 Carl Hetherington + Copyright (C) 2012-2019 Carl Hetherington This file is part of DCP-o-matic. @@ -36,10 +36,13 @@ namespace dcp { class Data; } +namespace dcpomatic { + class Font; +} + class Film; class AudioBuffers; class Job; -class Font; class ReferencedReelAsset; class ReelWriter; @@ -106,7 +109,7 @@ public: void repeat (Frame, Eyes); void write (boost::shared_ptr, dcpomatic::DCPTime time); void write (PlayerText text, TextType type, boost::optional, dcpomatic::DCPTimePeriod period); - void write (std::list > fonts); + void write (std::list > fonts); void write (ReferencedReelAsset asset); void finish (); @@ -128,8 +131,8 @@ private: std::vector::iterator _subtitle_reel; std::map::iterator> _caption_reels; - /** our thread, or 0 */ - boost::thread* _thread; + /** our thread */ + boost::thread _thread; /** true if our thread should finish */ bool _finish; /** queue of things to write to disk */ @@ -163,5 +166,5 @@ private: std::list _reel_assets; - std::list > _fonts; + std::list > _fonts; };