Set up OV/VF in name according to whether DCP content has been referenced.
[dcpomatic.git] / src / lib / kdm.h
index 8fb4ec494d2e2a52866e8fe68d1cc5a2ff92766a..c6962c196859697941782566c89b1ad88bdb81c2 100644 (file)
@@ -17,7 +17,8 @@
 
 */
 
-#include <boost/date_time.hpp>
+#include <dcp/local_time.h>
+#include <dcp/types.h>
 #include <boost/filesystem.hpp>
 
 class Screen;
@@ -27,9 +28,9 @@ extern void write_kdm_files (
        boost::shared_ptr<const Film> film,
        std::list<boost::shared_ptr<Screen> > screens,
        boost::filesystem::path cpl,
-       boost::posix_time::ptime from,
-       boost::posix_time::ptime to,
-       libdcp::KDM::Formulation formulation,
+       dcp::LocalTime from,
+       dcp::LocalTime to,
+       dcp::Formulation formulation,
        boost::filesystem::path directory
        );
 
@@ -37,9 +38,9 @@ extern void write_kdm_zip_files (
        boost::shared_ptr<const Film> film,
        std::list<boost::shared_ptr<Screen> > screens,
        boost::filesystem::path cpl,
-       boost::posix_time::ptime from,
-       boost::posix_time::ptime to,
-       libdcp::KDM::Formulation formulation,
+       dcp::LocalTime from,
+       dcp::LocalTime to,
+       dcp::Formulation formulation,
        boost::filesystem::path directory
        );
 
@@ -47,8 +48,7 @@ extern void email_kdms (
        boost::shared_ptr<const Film> film,
        std::list<boost::shared_ptr<Screen> > screens,
        boost::filesystem::path cpl,
-       boost::posix_time::ptime from,
-       boost::posix_time::ptime to,
-       libdcp::KDM::Formulation formulation
+       dcp::LocalTime from,
+       dcp::LocalTime to,
+       dcp::Formulation formulation
        );
-