diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-16 22:40:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-18 11:50:29 +0100 |
| commit | d3302b79771116d7e79a841e40e5a1917975442c (patch) | |
| tree | efd464a422fa6a700eaa09a8c2859940f7cd5bdc /src/lib/dcp_content.h | |
| parent | e3d86593186ebf6c73a54b679332964d6b1b750b (diff) | |
More of previous.
Diffstat (limited to 'src/lib/dcp_content.h')
| -rw-r--r-- | src/lib/dcp_content.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h index 5c80587dd..489151e03 100644 --- a/src/lib/dcp_content.h +++ b/src/lib/dcp_content.h @@ -37,6 +37,8 @@ public: static int const REFERENCE_SUBTITLE; }; +class ContentPart; + /** @class DCPContent * @brief An existing DCP used as input. */ @@ -112,7 +114,11 @@ private: void read_directory (boost::filesystem::path); std::list<DCPTimePeriod> reels () const; - template <class T> bool can_reference (std::string overlapping, std::list<std::string>& why_not) const; + bool can_reference ( + boost::function <boost::shared_ptr<ContentPart> (boost::shared_ptr<const Content>)>, + std::string overlapping, + std::list<std::string>& why_not + ) const; std::string _name; /** true if our DCP is encrypted */ |
