X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Foverlaps.h;h=bce163a5766014c3f255e4b22bd6cce0e0e2f720;hb=ff639b3cf30afcc097bfd21d39c8d15f466cadd6;hp=e8216fce0c6b1ac63964aaa180cc5532a188c52c;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/overlaps.h b/src/lib/overlaps.h index e8216fce0..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,14 +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 */ + * subtitle) that overlap a specified time range in the given + * ContentList + */ ContentList overlaps ( - ContentList cl, boost::function (boost::shared_ptr)> part, DCPTime from, DCPTime to + std::shared_ptr film, ContentList cl, std::function)> part, dcpomatic::DCPTime from, dcpomatic::DCPTime to );