Make the value used for 'f' in KDM names consistent (#1657).
[dcpomatic.git] / src / wx / kdm_output_panel.h
index b01913354c9e11befb23c2d840688e544c1bb254..0025b0072655292f837ccbd424c15bc84e5beebd 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2015-2017 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2015-2022 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "lib/kdm_with_metadata.h"
 #include "wx_util.h"
-#include "name_format_editor.h"
 #include <dcp/types.h>
 #include <wx/wx.h>
 #include <boost/filesystem.hpp>
 
-class wxRadioButton;
-class wxDirPickerCtrl;
+
 class DirPickerCtrl;
-class KDMTimingPanel;
 class Job;
-class Log;
+class NameFormatEditor;
+class wxDirPickerCtrl;
+class wxRadioButton;
+
 
 class KDMOutputPanel : public wxPanel
 {
 public:
-       KDMOutputPanel (wxWindow* parent, bool interop);
+       KDMOutputPanel (wxWindow* parent);
 
        void setup_sensitivity ();
 
@@ -52,7 +53,7 @@ public:
        }
 
        std::pair<std::shared_ptr<Job>, int> make (
-               std::list<KDMWithMetadataPtr > screen_kdms,
+               std::list<KDMWithMetadataPtr> screen_kdms,
                std::string name,
                std::function<bool (boost::filesystem::path)> confirm_overwrite
                );
@@ -60,6 +61,8 @@ public:
 private:
        void kdm_write_type_changed ();
        void advanced_clicked ();
+       void write_to_changed ();
+       void email_changed ();
 
        wxChoice* _type;
        NameFormatEditor* _container_name_format;