Add a load of explicit keywords.
[dcpomatic.git] / src / lib / film.h
index 67bcfbbdf44697e975362098aab8ab690eb4e084..20a1e2ca6551ad9f7c6ddaf9ddb4e2409e51c453 100644 (file)
@@ -67,7 +67,7 @@ struct isdcf_name_test;
 class Film : public boost::enable_shared_from_this<Film>, public Signaller, public boost::noncopyable
 {
 public:
-       Film (boost::optional<boost::filesystem::path> dir);
+       explicit Film (boost::optional<boost::filesystem::path> dir);
        ~Film ();
 
        boost::filesystem::path info_file (DCPTimePeriod p) const;
@@ -131,8 +131,8 @@ public:
                dcp::LocalTime from,
                dcp::LocalTime until,
                dcp::Formulation formulation,
-               int disable_forensic_marking_picture,
-               int disable_forensic_marking_audio
+               bool disable_forensic_marking_picture,
+               boost::optional<int> disable_forensic_marking_audio
                ) const;
 
        std::list<ScreenKDM> make_kdms (
@@ -141,8 +141,8 @@ public:
                boost::posix_time::ptime from,
                boost::posix_time::ptime until,
                dcp::Formulation formulation,
-               int disable_forensic_marking_picture,
-               int disable_forensic_marking_audio
+               bool disable_forensic_marking_picture,
+               boost::optional<int> disable_forensic_marking_audio
                ) const;
 
        int state_version () const {