X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimage_content.h;h=353ce8370eb451050ab554210056d32c8b715e65;hb=3ef438f90729d78ad579bbeb7933b3cf4f09c10c;hp=a1b1437c811fb391154b222466b7fa22a27b5258;hpb=6de35d058821acc092d2aae75543024a97026b8a;p=dcpomatic.git diff --git a/src/lib/image_content.h b/src/lib/image_content.h index a1b1437c8..353ce8370 100644 --- a/src/lib/image_content.h +++ b/src/lib/image_content.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2014 Carl Hetherington + Copyright (C) 2013-2016 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,14 +20,9 @@ #ifndef DCPOMATIC_IMAGE_CONTENT_H #define DCPOMATIC_IMAGE_CONTENT_H -#include -#include "video_content.h" +#include "content.h" -namespace cxml { - class Node; -} - -class ImageContent : public VideoContent +class ImageContent : public Content { public: ImageContent (boost::shared_ptr, boost::filesystem::path); @@ -44,10 +39,13 @@ public: DCPTime full_length () const; std::string identifier () const; - - void set_video_length (ContentTime); + + void set_default_colour_conversion (); + + void set_video_length (Frame); bool still () const; - void set_video_frame_rate (float); + + boost::shared_ptr video; }; #endif