summaryrefslogtreecommitdiff
path: root/src/lib/film.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-29 23:19:04 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-01 17:27:02 +0100
commitc5b9ad09ab5eaf032b0816f619ab5d75254e8597 (patch)
tree2d1cba3086b6448f454ecac9d1dd0875a12b5214 /src/lib/film.h
parentf9fcc34179a6f86425427741c60d8876099d3ed3 (diff)
Go back to player having a playlist and not assuming it uses the film's content.
Diffstat (limited to 'src/lib/film.h')
-rw-r--r--src/lib/film.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/film.h b/src/lib/film.h
index fe1795bd0..23478c478 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -141,6 +141,10 @@ public:
void repeat_content (ContentList, int);
+ boost::shared_ptr<const Playlist> playlist () const {
+ return _playlist;
+ }
+
/** Identifiers for the parts of our state;
used for signalling changes.
*/