Remove in-place translations support.
[dcpomatic.git] / src / lib / piece.h
index b5ab2d233918ecbe542c83564bfc747d3cd7c963..9fd53748d42f4a83c3b40365623fe5fc5fe2d935 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #ifndef DCPOMATIC_PIECE_H
 #define DCPOMATIC_PIECE_H
 
-#include "types.h"
+
+#include "dcpomatic_time.h"
+#include "frame_rate_change.h"
+#include <vector>
+
 
 class Content;
 class Decoder;
 
+
 class Piece
 {
 public:
-       Piece (boost::shared_ptr<Content> c, boost::shared_ptr<Decoder> d, FrameRateChange f)
+       Piece (std::shared_ptr<Content> c, std::shared_ptr<Decoder> d, FrameRateChange f)
                : content (c)
                , decoder (d)
                , frc (f)
+               , done (false)
        {}
 
-       boost::shared_ptr<Content> content;
-       boost::shared_ptr<Decoder> decoder;
+       std::shared_ptr<Content> content;
+       std::shared_ptr<Decoder> decoder;
+       std::vector<dcpomatic::DCPTimePeriod> ignore_video;
+       std::vector<dcpomatic::DCPTimePeriod> ignore_atmos;
        FrameRateChange frc;
+       bool done;
 };
 
+
 #endif