X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdecoder_part.h;h=57ddee781968556087e6d307043ddad6850a260e;hb=c7916079e06d985121842962b9736a6673e22dfe;hp=c8e13445a96c42761e3a3fb1f5f65b6c0de3738b;hpb=0e8a1ab7c41756115f44229053e1e7024530fb32;p=dcpomatic.git diff --git a/src/lib/decoder_part.h b/src/lib/decoder_part.h index c8e13445a..57ddee781 100644 --- a/src/lib/decoder_part.h +++ b/src/lib/decoder_part.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2016 Carl Hetherington + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,23 +18,27 @@ */ + #ifndef DCPOMATIC_DECODER_PART_H #define DCPOMATIC_DECODER_PART_H + #include "dcpomatic_time.h" #include + class Decoder; class Log; class Film; + class DecoderPart { public: DecoderPart (Decoder* parent); virtual ~DecoderPart () {} - virtual boost::optional position (boost::shared_ptr film) const = 0; + virtual boost::optional position (std::shared_ptr film) const = 0; virtual void seek () = 0; void set_ignore (bool i) { @@ -52,4 +56,5 @@ private: bool _ignore; }; + #endif