X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent.h;h=9cf6d866ab04906b3288188792c66f9403b8592e;hb=2d5b8cdde08044d323aa7193dfac6c9f8bca7131;hp=5d8100e5db825e021dfd1ca7a09b6909ce830ef6;hpb=90b84151b9817b33381187f678cb2fdd062ed785;p=dcpomatic.git diff --git a/src/lib/content.h b/src/lib/content.h index 5d8100e5d..9cf6d866a 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -52,6 +52,7 @@ public: Content (boost::shared_ptr, Time); Content (boost::shared_ptr, boost::filesystem::path); Content (boost::shared_ptr, boost::shared_ptr); + Content (boost::shared_ptr, std::vector >); virtual ~Content () {} virtual void examine (boost::shared_ptr); @@ -65,10 +66,12 @@ public: boost::shared_ptr clone () const; void set_path (boost::filesystem::path); - - boost::filesystem::path path () const { + + std::string path_summary () const; + + std::vector paths () const { boost::mutex::scoped_lock lm (_mutex); - return _paths.front (); + return _paths; } size_t number_of_paths () const {