Add remove option; resize timeline after drags.
[dcpomatic.git] / src / lib / playlist.h
index 1d69c34baee71bde82ee950cf9f5854e88f0fbf9..e39e9f51f96aa13148a4c4b48c8066ca9c135904 100644 (file)
@@ -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 */