X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fshuffler.h;h=80754a5e0b2854f7058e29aa8e7cf02bf5de3252;hb=c92acd49137a75ba707b11bbebac8b8f80b9e9ac;hp=54e13d486fefeb3bf3390f497bc94c7b839cbba1;hpb=1aad2c33896ce6222f3c929c7af7fe4ff5fda0f2;p=dcpomatic.git diff --git a/src/lib/shuffler.h b/src/lib/shuffler.h index 54e13d486..80754a5e0 100644 --- a/src/lib/shuffler.h +++ b/src/lib/shuffler.h @@ -22,6 +22,8 @@ #include "content_video.h" #include +struct shuffler_test5; + class Piece; class Shuffler @@ -29,14 +31,16 @@ class Shuffler public: void clear (); void flush (); - void video (boost::weak_ptr, ContentVideo video); + boost::signals2::signal, ContentVideo)> Video; typedef std::pair, ContentVideo> Store; private: + friend struct ::shuffler_test5; - boost::optional _last; std::list _store; + boost::optional _last; + static int const _max_size; };