X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fatmos_mxf_content.h;h=57f041774c1b3776926545b7b77c025c2c872c33;hb=6cac49dc50dae6b173135df101d532f20031ca70;hp=06e9e747d9cb61759eba3268d6dd32d1803f8555;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git diff --git a/src/lib/atmos_mxf_content.h b/src/lib/atmos_mxf_content.h index 06e9e747d..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,22 +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); - -private: - Frame _length; };