X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fimage_content.h;h=38aa77bf52eddf7ea889b436483c3f585b628292;hb=59e769023c392c332331567a1aea94660002c463;hp=ef2bc0447c9262e13357154f5f3c313996bccfb3;hpb=ae9b0b509787d244366eb8f69bdf9d563b6c6bb6;p=dcpomatic.git diff --git a/src/lib/image_content.h b/src/lib/image_content.h index ef2bc0447..38aa77bf5 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-2014 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,8 +20,8 @@ #ifndef DCPOMATIC_IMAGE_CONTENT_H #define DCPOMATIC_IMAGE_CONTENT_H -#include #include "video_content.h" +#include namespace cxml { class Node; @@ -31,7 +31,7 @@ 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 ()); @@ -45,8 +45,9 @@ public: std::string identifier () const; - void set_video_length (VideoFrame); + void set_video_length (ContentTime); bool still () const; + void set_video_frame_rate (float); }; #endif