diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-19 15:22:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-19 15:22:26 +0100 |
| commit | 56506a1993f402fe889a650faa3de2e265632498 (patch) | |
| tree | ea8b0f404dbfaf3def2592e6192280ab37338049 /src/lib/playlist.h | |
| parent | 3857b8b178d94873a6ffc6f51cdb4c241fd54f90 (diff) | |
Add remove option; resize timeline after drags.
Diffstat (limited to 'src/lib/playlist.h')
| -rw-r--r-- | src/lib/playlist.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/playlist.h b/src/lib/playlist.h index 1d69c34ba..e39e9f51f 100644 --- a/src/lib/playlist.h +++ b/src/lib/playlist.h @@ -60,11 +60,10 @@ public: void add (boost::shared_ptr<Content>); void remove (boost::shared_ptr<Content>); + void remove (ContentList); bool has_subtitles () const; - typedef std::vector<boost::shared_ptr<Content> > ContentList; - ContentList content () const; std::string video_identifier () const; @@ -77,7 +76,7 @@ public: void set_sequence_video (bool); void maybe_sequence_video (); - void repeat (std::list<boost::shared_ptr<Content> >, int); + void repeat (ContentList, int); mutable boost::signals2::signal<void ()> Changed; /** Third parameter is true if signals are currently being emitted frequently */ |
