X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fatmos_mxf_content.h;h=b485167c553a820df7c87c8218ba22e6e9c5ccab;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hp=05f36c21c40683c191012a67d5c6d2c99189ba63;hpb=673ba43fb66eb0dee43807501753749f144254a7;p=dcpomatic.git diff --git a/src/lib/atmos_mxf_content.h b/src/lib/atmos_mxf_content.h index 05f36c21c..b485167c5 100644 --- a/src/lib/atmos_mxf_content.h +++ b/src/lib/atmos_mxf_content.h @@ -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); + void examine (std::shared_ptr film, std::shared_ptr job); std::string summary () const; void as_xml (xmlpp::Node* node, bool with_path) const; - DCPTime full_length (boost::shared_ptr film) const; - DCPTime approximate_length () const; + dcpomatic::DCPTime full_length (std::shared_ptr film) const; + dcpomatic::DCPTime approximate_length () const; static bool valid_mxf (boost::filesystem::path path); - -private: - Frame _length; };