X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fimagemagick_content.h;h=dab3158e306056909f6c6a23cef2ee0a368f657a;hb=c1bae7f0dac684147e00f5f51dcd5544ba13ee53;hp=b1e7f949530a0b70182019639807b58d396b2aaa;hpb=e94cd129dcd66a76210880bfdf19d27f7992651b;p=dcpomatic.git diff --git a/src/lib/imagemagick_content.h b/src/lib/imagemagick_content.h index b1e7f9495..dab3158e3 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,24 @@ 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); + std::string identifier () const; + + void set_video_length (VideoContent::Frame); static bool valid_file (boost::filesystem::path); }; + +#endif