DVD-o-matic -> DCP-o-matic.
[dcpomatic.git] / src / lib / content.cc
index 786b5fb09be505bcf0bcd56765c41a30b45d0b17..9c3bcd39dcf6cd5585c20d7e9d70a4d8f52cb9c9 100644 (file)
@@ -39,7 +39,8 @@ Content::Content (shared_ptr<const cxml::Node> node)
 }
 
 Content::Content (Content const & o)
-       : _file (o._file)
+       : boost::enable_shared_from_this<Content> (o)
+       , _file (o._file)
        , _digest (o._digest)
 {
 
@@ -60,3 +61,9 @@ Content::examine (shared_ptr<Film>, shared_ptr<Job>, bool)
        boost::mutex::scoped_lock lm (_mutex);
        _digest = d;
 }
+
+void
+Content::signal_changed (int p)
+{
+       Changed (shared_from_this (), p);
+}