/*
- Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
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
#ifndef DCPOMATIC_IMAGE_CONTENT_H
#define DCPOMATIC_IMAGE_CONTENT_H
-#include <boost/enable_shared_from_this.hpp>
#include "video_content.h"
-namespace cxml {
- class Node;
-}
-
class ImageContent : public VideoContent
{
public:
ImageContent (boost::shared_ptr<const Film>, boost::filesystem::path);
- ImageContent (boost::shared_ptr<const Film>, boost::shared_ptr<const cxml::Node>, int);
+ ImageContent (boost::shared_ptr<const Film>, cxml::ConstNodePtr, int);
boost::shared_ptr<ImageContent> shared_from_this () {
return boost::dynamic_pointer_cast<ImageContent> (Content::shared_from_this ());
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;
};