shared_ptr<Content>
-Content::clone (shared_ptr<const Film> film) const
+Content::clone () const
{
/* This is a bit naughty, but I can't think of a compelling reason not to do it ... */
xmlpp::Document doc;
/* notes is unused here (we assume) */
list<string> notes;
- return content_factory (film, cxml::NodePtr(new cxml::Node(node)), Film::current_state_version, notes);
+ return content_factory (cxml::NodePtr(new cxml::Node(node)), Film::current_state_version, notes);
}
string
/** @return a list of properties that might be interesting to the user */
list<UserProperty>
-Content::user_properties () const
+Content::user_properties (shared_ptr<const Film> film) const
{
list<UserProperty> p;
- add_properties (p);
+ add_properties (film, p);
return p;
}
/** @return DCP times of points within this content where a reel split could occur */
list<DCPTime>
-Content::reel_split_points () const
+Content::reel_split_points (shared_ptr<const Film>) const
{
list<DCPTime> t;
/* This is only called for video content and such content has its position forced
}
void
-Content::add_properties (list<UserProperty>& p) const
+Content::add_properties (shared_ptr<const Film>, list<UserProperty>& p) const
{
p.push_back (UserProperty (UserProperty::GENERAL, _("Filename"), path(0).string ()));