Get Signer to take a PEM string rather than a filename.
[libdcp.git] / src / content.h
index 57aaa14c84aaebb6e548d31cc419298f17f40a1a..cf92f5365a45241b509c80463459aea26d2be372 100644 (file)
@@ -51,26 +51,21 @@ 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 () {}
-
-       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;
 };
 
 }