X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Foverlaps.h;h=bce163a5766014c3f255e4b22bd6cce0e0e2f720;hb=0c0eeadf18add7e9165c0a0946ea0a52aac9990f;hp=7dd9802c3827ab66bb85fa23bab8d6d95e54b5ba;hpb=cbd4450197a083bf58bda510e626f73ba583cb66;p=dcpomatic.git diff --git a/src/lib/overlaps.h b/src/lib/overlaps.h index 7dd9802c3..bce163a57 100644 --- a/src/lib/overlaps.h +++ b/src/lib/overlaps.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2016 Carl Hetherington + Copyright (C) 2013-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,15 +18,19 @@ */ + #include "types.h" #include "dcpomatic_time.h" + class ContentPart; +class Film; + /** @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)> part, DCPTime from, DCPTime to + std::shared_ptr film, ContentList cl, std::function)> part, dcpomatic::DCPTime from, dcpomatic::DCPTime to );