From 6205c7805ba11cfd38f22d0024f36ce33dddee53 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 14 May 2023 23:08:37 +0200 Subject: [PATCH 1/1] Make can_reference_anything public. --- src/lib/dcp_content.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2