From: Carl Hetherington Date: Sun, 14 May 2023 21:08:37 +0000 (+0200) Subject: Make can_reference_anything public. X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=6205c7805ba11cfd38f22d0024f36ce33dddee53;hp=0a68adbacaa15ea7bdfbfd1b29a0e59a68903dce;p=dcpomatic.git Make can_reference_anything public. --- diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h index ce53da495..d06d46523 100644 --- a/src/lib/dcp_content.h +++ b/src/lib/dcp_content.h @@ -100,6 +100,8 @@ public: bool needs_kdm () const; bool needs_assets () const; + bool can_reference_anything(std::shared_ptr film, std::string& why_not) const; + void set_reference_video (bool r); bool reference_video () const { @@ -186,7 +188,6 @@ private: void read_directory (boost::filesystem::path); void read_sub_directory (boost::filesystem::path); std::list reels (std::shared_ptr film) const; - bool can_reference_anything(std::shared_ptr film, std::string& why_not) const; bool overlaps(std::shared_ptr film, std::function)> part) const; std::string _name;