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 () {}
-
- Fraction edit_rate () const {
- return _edit_rate;
- }
- int64_t intrinsic_duration () const {
- return _intrinsic_duration;
- }
-
- virtual bool equals (boost::shared_ptr<const Content> other, EqualityOptions opt, boost::function<void (NoteType, std::string)>) const;
+ bool equals (
+ boost::shared_ptr<const Content> other,
+ EqualityOptions opt,
+ boost::function<void (NoteType, std::string)>
+ ) const;
protected:
- friend class MXFWriter;
-
- Fraction _edit_rate;
- int64_t _intrinsic_duration;
+ virtual std::string asdcp_kind () const = 0;
};
}