X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fcontent.h;h=fcbfc25dc96c3f8b90ea7fbdf1f59467a4dbc2f4;hb=edf35a7acb05289dc024733efd6e13205def5174;hp=2059c8f54a9380339b675aaf16b00ee51472f8e7;hpb=77b0ffe6c50796b8fb132f56394995e0df089713;p=libdcp.git diff --git a/src/content.h b/src/content.h index 2059c8f5..fcbfc25d 100644 --- a/src/content.h +++ b/src/content.h @@ -33,7 +33,7 @@ #include namespace ASDCP { - class WriterInfo; + struct WriterInfo; } namespace xmlpp { @@ -51,31 +51,15 @@ namespace dcp class Content : public Asset { public: + Content () {} + + /** Construct a Content object by reading a file. + * @param file File to read. + */ Content (boost::filesystem::path file); - Content (Fraction edit_rate); - virtual ~Content () {} - - bool equals ( - boost::shared_ptr other, - EqualityOptions opt, - boost::function - ) const; - - Fraction edit_rate () const { - return _edit_rate; - } - - int64_t intrinsic_duration () const { - return _intrinsic_duration; - } protected: - friend class MXFWriter; - virtual std::string asdcp_kind () const = 0; - - Fraction _edit_rate; - int64_t _intrinsic_duration; }; }