Merge master.
[dcpomatic.git] / src / lib / dcp_content.h
index 7b7e85d9df745220e334207cb8ebe6ffd9c1d29e..60b7142de1fe655dc0a6e4826a2841fb3d611334 100644 (file)
@@ -47,6 +47,9 @@ public:
        void as_xml (xmlpp::Node *) const;
        std::string identifier () const;
 
+       /* SubtitleContent */
+       bool has_subtitles () const;
+       
        boost::filesystem::path directory () const {
                boost::mutex::scoped_lock lm (_mutex);
                return _directory;
@@ -56,5 +59,6 @@ private:
        void read_directory (boost::filesystem::path);
        
        std::string _name;
+       bool _has_subtitles;
        boost::filesystem::path _directory;
 };