+ 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);
+
+ Time trim_end () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _trim_end;
+ }
+
+ Time end () const {
+ return position() + length_after_trim() - 1;
+ }
+
+ Time length_after_trim () const;
+
+ void set_change_signals_frequent (bool f) {
+ _change_signals_frequent = f;
+ }
+
+ bool trimmed (Time) const;
+
+ boost::signals2::signal<void (boost::weak_ptr<Content>, int, bool)> Changed;