X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffilm.h;h=c3ab9f2ff550de1a65cd79a2924b36c13b293122;hb=1b0b9e4b951e305d47bb011fc4e198472bb3fecf;hp=8a0823094e4c0ddf7b272ee05fae332ba631cc25;hpb=3b48d5494c3cae7743d283203f5c8021860ab81f;p=dcpomatic.git diff --git a/src/lib/film.h b/src/lib/film.h index 8a0823094..c3ab9f2ff 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2014 Carl Hetherington + Copyright (C) 2012-2015 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,19 +25,19 @@ #ifndef DCPOMATIC_FILM_H #define DCPOMATIC_FILM_H -#include -#include -#include -#include -#include -#include -#include -#include -#include #include "util.h" #include "types.h" #include "isdcf_metadata.h" #include "frame_rate_change.h" +#include "ratio.h" +#include +#include +#include +#include +#include +#include +#include +#include class DCPContentType; class Log; @@ -60,6 +60,7 @@ class Film : public boost::enable_shared_from_this, public boost::noncopya { public: Film (boost::filesystem::path, bool log = true); + ~Film (); boost::filesystem::path info_dir () const; boost::filesystem::path j2c_path (int, Eyes, bool) const; @@ -144,6 +145,8 @@ public: return _state_version; } + std::string subtitle_language () const; + /** Identifiers for the parts of our state; used for signalling changes. */ @@ -339,6 +342,10 @@ private: /** true if our state has changed since we last saved it */ mutable bool _dirty; + boost::signals2::scoped_connection _playlist_changed_connection; + boost::signals2::scoped_connection _playlist_content_changed_connection; + std::list _job_connections; + friend struct paths_test; friend struct film_metadata_test; };