Remove in-place translations support.
[dcpomatic.git] / src / lib / content_video.h
index 21a600709e9076e802c944c366a6fe9bbb68f54b..4fdab717a2965749bbd78f7a9939e1403eb15496 100644 (file)
 
 */
 
+
 #ifndef DCPOMATIC_CONTENT_VIDEO_H
 #define DCPOMATIC_CONTENT_VIDEO_H
 
+
+#include "types.h"
+
+
 class ImageProxy;
 
+
 /** @class ContentVideo
  *  @brief A frame of video straight out of some content.
  */
@@ -30,22 +36,22 @@ class ContentVideo
 {
 public:
        ContentVideo ()
-               : eyes (EYES_BOTH)
-               , part (PART_WHOLE)
-               , frame (0)
+               : frame (0)
+               , eyes (Eyes::LEFT)
+               , part (Part::WHOLE)
        {}
 
-       ContentVideo (boost::shared_ptr<const ImageProxy> i, Eyes e, Part p, Frame f)
+       ContentVideo (std::shared_ptr<const ImageProxy> i, Frame f, Eyes e, Part p)
                : image (i)
+               , frame (f)
                , eyes (e)
                , part (p)
-               , frame (f)
        {}
 
-       boost::shared_ptr<const ImageProxy> image;
+       std::shared_ptr<const ImageProxy> image;
+       Frame frame;
        Eyes eyes;
        Part part;
-       Frame frame;
 };
 
 #endif