X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimagemagick_content.h;h=d7673d870730ec3dd411e3b875a386f454652c6f;hb=a183c1776cfd020a37d028ebb0f641352f49697b;hp=b1e7f949530a0b70182019639807b58d396b2aaa;hpb=1bff0990433ab0ce588acaef7c589fa623bd998b;p=dcpomatic.git diff --git a/src/lib/imagemagick_content.h b/src/lib/imagemagick_content.h index b1e7f9495..d7673d870 100644 --- a/src/lib/imagemagick_content.h +++ b/src/lib/imagemagick_content.h @@ -17,6 +17,9 @@ */ +#ifndef DCPOMATIC_IMAGEMAGICK_CONTENT_H +#define DCPOMATIC_IMAGEMAGICK_CONTENT_H + #include #include "video_content.h" @@ -27,19 +30,22 @@ namespace cxml { class ImageMagickContent : public VideoContent { public: - ImageMagickContent (boost::filesystem::path); - ImageMagickContent (boost::shared_ptr); + ImageMagickContent (boost::shared_ptr, boost::filesystem::path); + ImageMagickContent (boost::shared_ptr, boost::shared_ptr); boost::shared_ptr shared_from_this () { return boost::dynamic_pointer_cast (Content::shared_from_this ()); }; - void examine (boost::shared_ptr, boost::shared_ptr, bool); + void examine (boost::shared_ptr); std::string summary () const; void as_xml (xmlpp::Node *) const; boost::shared_ptr clone () const; + Time length () const; void set_video_length (ContentVideoFrame); static bool valid_file (boost::filesystem::path); }; + +#endif