Fix build on OS X.
[dcpomatic.git] / src / lib / dcp_content.h
index be12ba5346eb7f81fa85dd75eec0df625818f8d3..78c97bec513026d3470640ea01b1c02075693a13 100644 (file)
@@ -104,6 +104,8 @@ public:
                return _reference_video;
        }
 
+       bool can_reference_video (std::list<std::string> &) const;
+
        void set_reference_audio (bool r);
 
        bool reference_audio () const {
@@ -111,6 +113,8 @@ public:
                return _reference_audio;
        }
 
+       bool can_reference_audio (std::list<std::string> &) const;
+
        void set_reference_subtitle (bool r);
 
        bool reference_subtitle () const {
@@ -118,11 +122,15 @@ public:
                return _reference_subtitle;
        }
 
+       bool can_reference_subtitle (std::list<std::string> &) const;
+
 protected:
        void add_properties (std::list<std::pair<std::string, std::string> >& p) const;
 
 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;
 
        std::string _name;
        bool _has_subtitles;