X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent.h;h=6bbf33b35cd4d4e10377bdda2ad77be6cf673f7c;hb=3574212ee42b2bd924eb95d5c0f4f69ec9e0a2f0;hp=659995b3b8e13c5d2e6b5cb435931bd88ed15010;hpb=1dcfb3a26085ebb3703f40e2f51e43ce3d98be50;p=dcpomatic.git diff --git a/src/lib/content.h b/src/lib/content.h index 659995b3b..6bbf33b35 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -30,6 +30,7 @@ #include #include #include +#include #include "types.h" #include "dcpomatic_time.h" @@ -59,7 +60,7 @@ public: Content (boost::shared_ptr); Content (boost::shared_ptr, DCPTime); Content (boost::shared_ptr, boost::filesystem::path); - Content (boost::shared_ptr, boost::shared_ptr); + Content (boost::shared_ptr, cxml::ConstNodePtr); Content (boost::shared_ptr, std::vector >); virtual ~Content () {} @@ -137,6 +138,10 @@ public: _change_signals_frequent = f; } + boost::shared_ptr film () const { + return _film.lock (); + } + boost::signals2::signal, int, bool)> Changed; protected: