#include "change_signaller.h"
+#include "dcpomatic_time.h"
#include "frame_rate_change.h"
-#include "util.h"
+#include "types.h"
#include <libcxml/cxml.h>
#include <boost/signals2.hpp>
#include <boost/thread.hpp>
class Film;
-struct ContentSorter
-{
- bool operator() (std::shared_ptr<Content> a, std::shared_ptr<Content> b);
-};
-
-
/** @class Playlist
* @brief A set of Content objects with knowledge of how they should be arranged into
* a DCP.
class Playlist
{
public:
- Playlist ();
+ Playlist() = default;
+
~Playlist ();
Playlist (Playlist const&) = delete;
void reconnect (std::shared_ptr<const Film> film);
mutable boost::mutex _mutex;
- /** List of content. Kept sorted in position order. */
+ /** List of content, kept sorted by ContentSorter() */
ContentList _content;
bool _sequence = true;
bool _sequencing = false;