X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_content.h;h=67ea466dfb146f79537d58d5c64aeccdc90b2444;hb=10a0dd6c5153019e0b17793c812f1653f26e0960;hp=88c178faad35578cc5e7143f334c9feb1d22dbef;hpb=ad49361b303d1ceff7048fa0e89ba609ca9ce376;p=dcpomatic.git diff --git a/src/lib/image_content.h b/src/lib/image_content.h index 88c178faa..67ea466df 100644 --- a/src/lib/image_content.h +++ b/src/lib/image_content.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013 Carl Hetherington + Copyright (C) 2013-2015 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,18 +20,13 @@ #ifndef DCPOMATIC_IMAGE_CONTENT_H #define DCPOMATIC_IMAGE_CONTENT_H -#include #include "video_content.h" -namespace cxml { - class Node; -} - class ImageContent : public VideoContent { public: ImageContent (boost::shared_ptr, boost::filesystem::path); - ImageContent (boost::shared_ptr, boost::shared_ptr, int); + ImageContent (boost::shared_ptr, cxml::ConstNodePtr, int); boost::shared_ptr shared_from_this () { return boost::dynamic_pointer_cast (Content::shared_from_this ()); @@ -44,9 +39,13 @@ public: DCPTime full_length () const; std::string identifier () const; - - void set_video_length (VideoContent::Frame); + + /* VideoContent */ + void set_default_colour_conversion (); + + void set_video_length (Frame); bool still () const; + void set_video_frame_rate (float); }; #endif