X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Ffilm.h;h=5318d6a12aa837229d4e4ea6ff94ffe1a958fdb8;hb=8a8c977c12fc65f1f50ea05099387e0fc8840e7d;hp=d42eb5626b71dad5050e3fa5335002611f59edf1;hpb=efe153ab23b54cdbf28c653f2ccb0f25ca6bd015;p=dcpomatic.git diff --git a/src/lib/film.h b/src/lib/film.h index d42eb5626..5318d6a12 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -37,6 +37,7 @@ #include "types.h" #include "util.h" #include +#include #include #include #include @@ -75,13 +76,8 @@ class InfoFileHandle { public: InfoFileHandle (boost::mutex& mutex, boost::filesystem::path file, bool read); - ~InfoFileHandle (); - FILE* get () const { - return _handle; - } - - boost::filesystem::path file () const { + dcp::File& get () { return _file; } @@ -89,10 +85,10 @@ private: friend class Film; boost::mutex::scoped_lock _lock; - FILE* _handle; - boost::filesystem::path _file; + dcp::File _file; }; + /** @class Film * * @brief A representation of some audio, video, subtitle and closed-caption content,