X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_mxf_content.h;h=5a04c3da9c292405b83f7e3f0c4e20fe73995077;hb=2b0e9dd97a5773f52eba5704903b82e90f4c6f63;hp=dd470335c061209ec3b253dcec553eaa0265fc10;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git diff --git a/src/lib/video_mxf_content.h b/src/lib/video_mxf_content.h index dd470335c..5a04c3da9 100644 --- a/src/lib/video_mxf_content.h +++ b/src/lib/video_mxf_content.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2016 Carl Hetherington + Copyright (C) 2016-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,30 +18,32 @@ */ + #include "content.h" + class VideoMXFContent : public Content { public: VideoMXFContent (boost::filesystem::path path); VideoMXFContent (cxml::ConstNodePtr node, int version); - boost::shared_ptr shared_from_this () { - return boost::dynamic_pointer_cast (Content::shared_from_this ()); + std::shared_ptr shared_from_this () { + return std::dynamic_pointer_cast(Content::shared_from_this()); } - boost::shared_ptr shared_from_this () const { - return boost::dynamic_pointer_cast (Content::shared_from_this ()); + std::shared_ptr shared_from_this () const { + return std::dynamic_pointer_cast(Content::shared_from_this()); } - void examine (boost::shared_ptr film, boost::shared_ptr job); - std::string summary () const; - std::string technical_summary () const; - std::string identifier () const; - void as_xml (xmlpp::Node* node, bool with_paths) const; - dcpomatic::DCPTime full_length (boost::shared_ptr film) const; - dcpomatic::DCPTime approximate_length () const; - void add_properties (boost::shared_ptr film, std::list& p) const; + void examine (std::shared_ptr film, std::shared_ptr job) override; + std::string summary () const override; + std::string technical_summary () const override; + std::string identifier () const override; + void as_xml (xmlpp::Node* node, bool with_paths) const override; + dcpomatic::DCPTime full_length (std::shared_ptr film) const override; + dcpomatic::DCPTime approximate_length () const override; + void add_properties (std::shared_ptr film, std::list& p) const override; static bool valid_mxf (boost::filesystem::path path); };