Put overlaps() into the dcpomatic namespace.
[dcpomatic.git] / src / lib / overlaps.h
index 7dd9802c3827ab66bb85fa23bab8d6d95e54b5ba..f405c0fabffc80e79890a9d606f6212df4da73a9 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
-#include "types.h"
+
 #include "dcpomatic_time.h"
+#include "types.h"
+
 
 class ContentPart;
+class Film;
+
+
+namespace dcpomatic {
+
 
 /** @return Pieces of content with a given part (video, audio,
  *  subtitle) that overlap a specified time range in the given
  *  ContentList
  */
 ContentList overlaps (
-       ContentList cl, boost::function<bool (boost::shared_ptr<const Content>)> part, DCPTime from, DCPTime to
+       std::shared_ptr<const Film> film, ContentList cl, std::function<bool (std::shared_ptr<const Content>)> part, dcpomatic::DCPTime from, dcpomatic::DCPTime to
        );
+
+
+}
+