X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fatmos_mxf_content.h;h=57f041774c1b3776926545b7b77c025c2c872c33;hb=cd6c6a693f19fcaa6c75ed60f48a54a8cae51352;hp=350c4a35d3b48a8f8270847a5b3df5de39f42d2a;hpb=ca981c8cfa23111e92be329f1c2dfbe3a07b4247;p=dcpomatic.git diff --git a/src/lib/atmos_mxf_content.h b/src/lib/atmos_mxf_content.h index 350c4a35d..57f041774 100644 --- a/src/lib/atmos_mxf_content.h +++ b/src/lib/atmos_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,7 +18,10 @@ */ + #include "content.h" +#include + class AtmosMXFContent : public Content { @@ -26,19 +29,19 @@ public: AtmosMXFContent (boost::filesystem::path path); AtmosMXFContent (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; - void as_xml (xmlpp::Node* node, bool with_path) const; - dcpomatic::DCPTime full_length (boost::shared_ptr film) const; - dcpomatic::DCPTime approximate_length () const; + void examine (std::shared_ptr film, std::shared_ptr job) override; + std::string summary () const override; + void as_xml (xmlpp::Node* node, bool with_path) const override; + dcpomatic::DCPTime full_length (std::shared_ptr film) const override; + dcpomatic::DCPTime approximate_length () const override; static bool valid_mxf (boost::filesystem::path path); };