string
StillImageContent::summary () const
{
- return String::compose (_("%1 [still]"), file().filename().string());
+ /* Get the string() here so that the name does not have quotes around it */
+ return String::compose (_("%1 [still]"), path().filename().string());
}
string
+ "still";
}
-bool
-StillImageContent::valid_file (boost::filesystem::path f)
-{
- string ext = f.extension().string();
- transform (ext.begin(), ext.end(), ext.begin(), ::tolower);
- return (ext == ".tif" || ext == ".tiff" || ext == ".jpg" || ext == ".jpeg" || ext == ".png" || ext == ".bmp");
-}
-
void
StillImageContent::as_xml (xmlpp::Node* node) const
{
}
Time
-StillImageContent::length () const
+StillImageContent::full_length () const
{
shared_ptr<const Film> film = _film.lock ();
assert (film);