Tweak naming of KDM emails and attachments.
[dcpomatic.git] / src / lib / screen_kdm.h
index c2928114f649838a04c21ce1115e33c8a8ae3db1..6230ea091b3b7dfbeb3dbb6454e869d50eda5399 100644 (file)
@@ -24,7 +24,6 @@
 #include <boost/shared_ptr.hpp>
 
 class Screen;
-class Film;
 
 /** Simple class to collect a screen and an encrypted KDM */
 class ScreenKDM
@@ -35,9 +34,9 @@ public:
                , kdm (k)
        {}
 
-       std::string filename (boost::shared_ptr<const Film> film) const;
+       std::string filename (std::string film_name) const;
 
-       static void write_files (boost::shared_ptr<const Film> film, std::list<ScreenKDM> screen_kdms, boost::filesystem::path directory);
+       static void write_files (std::string film_name, std::list<ScreenKDM> screen_kdms, boost::filesystem::path directory);
 
        boost::shared_ptr<Screen> screen;
        dcp::EncryptedKDM kdm;