X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Foverlaps.h;h=bce163a5766014c3f255e4b22bd6cce0e0e2f720;hb=6cac49dc50dae6b173135df101d532f20031ca70;hp=9bd867030634af03970f54a17ce5f8841d40465a;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git diff --git a/src/lib/overlaps.h b/src/lib/overlaps.h index 9bd867030..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,16 +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 ( - boost::shared_ptr film, ContentList cl, boost::function)> part, dcpomatic::DCPTime from, dcpomatic::DCPTime to + std::shared_ptr film, ContentList cl, std::function)> part, dcpomatic::DCPTime from, dcpomatic::DCPTime to );