X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fvideo_content.h;h=e5bbb5bab066bdcb495700c12aa4faf2cb90151f;hp=b478666bb0ae28462ccac08e371bc27060094791;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hpb=0d35820cf50d2789752b8776683b26d04642518d diff --git a/src/lib/video_content.h b/src/lib/video_content.h index b478666bb..e5bbb5bab 100644 --- a/src/lib/video_content.h +++ b/src/lib/video_content.h @@ -27,8 +27,6 @@ #include "types.h" #include "content_part.h" #include -#include -#include class VideoExaminer; class Ratio; @@ -51,16 +49,16 @@ public: static int const CUSTOM_SIZE; }; -class VideoContent : public ContentPart, public boost::enable_shared_from_this +class VideoContent : public ContentPart, public std::enable_shared_from_this { public: explicit VideoContent (Content* parent); - VideoContent (Content* parent, std::vector >); + VideoContent (Content* parent, std::vector >); void as_xml (xmlpp::Node *) const; std::string technical_summary () const; std::string identifier () const; - void take_settings_from (boost::shared_ptr c); + void take_settings_from (std::shared_ptr c); Frame length () const { boost::mutex::scoped_lock lm (_mutex); @@ -183,19 +181,19 @@ public: dcp::Size size_after_crop () const; dcp::Size scaled_size (dcp::Size container_size); - boost::optional fade (boost::shared_ptr film, Frame) const; + boost::optional fade (std::shared_ptr film, Frame) const; - std::string processing_description (boost::shared_ptr film); + std::string processing_description (std::shared_ptr film); void set_length (Frame); - void take_from_examiner (boost::shared_ptr); + void take_from_examiner (std::shared_ptr); void add_properties (std::list &) const; - void modify_position (boost::shared_ptr film, dcpomatic::DCPTime& pos) const; + void modify_position (std::shared_ptr film, dcpomatic::DCPTime& pos) const; void modify_trim_start (dcpomatic::ContentTime& pos) const; - static boost::shared_ptr from_xml (Content* parent, cxml::ConstNodePtr, int); + static std::shared_ptr from_xml (Content* parent, cxml::ConstNodePtr, int); private: