+ virtual std::string technical_summary () const;
+ virtual std::string information () const = 0;
+ virtual void as_xml (xmlpp::Node *) const;
+ virtual Time full_length () const = 0;
+ virtual std::string identifier () const;
+
+ boost::shared_ptr<Content> clone () const;
+
+ void set_path (boost::filesystem::path);
+
+ boost::filesystem::path path () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _path;
+ }
+
+ bool path_valid () const;
+
+ /** @return MD5 digest of the content's file(s) */
+ std::string digest () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _digest;
+ }
+
+ void set_position (Time);
+
+ /** Time that this content starts; i.e. the time that the first
+ * bit of the content (trimmed or not) will happen.
+ */
+ Time position () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _position;
+ }
+
+ void set_trim_start (Time);
+
+ Time trim_start () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _trim_start;
+ }
+
+ void set_trim_end (Time);