Include tidying src/lib/a-j*.h
[dcpomatic.git] / src / lib / image_decoder.h
index 5b82dd85c161eedd07ccfb0c09cdc90c6dc96708..4d96306a89c63775121f4e243da36ce2aa507372 100644 (file)
 
 #include "video_decoder.h"
 
-namespace Magick {
-       class Image;
-}
-
 class ImageContent;
 
 class ImageDecoder : public VideoDecoder
 {
 public:
-       ImageDecoder (boost::shared_ptr<const Film>, boost::shared_ptr<const ImageContent>);
+       ImageDecoder (boost::shared_ptr<const ImageContent> c);
 
        boost::shared_ptr<const ImageContent> content () {
                return _image_content;
        }
 
-       /* Decoder */
-
-       void pass ();
-       void seek (VideoContent::Frame, bool);
-       bool done () const;
-
 private:
+       bool pass ();
+       void seek (ContentTime, bool);
+
        boost::shared_ptr<const ImageContent> _image_content;
        boost::shared_ptr<ImageProxy> _image;
+       Frame _video_position;
 };