Allow configuration of KDM filename format.
[dcpomatic.git] / src / wx / kdm_output_panel.h
index 0ca55e325d71b7dfa51b9760efc5ca5ec44c4020..002b189f591db6bcf63318dbcd7059d6be47f254 100644 (file)
@@ -19,6 +19,8 @@
 */
 
 #include "wx_util.h"
+#include "name_format_editor.h"
+#include "lib/kdm_name_format.h"
 #include <dcp/types.h>
 #include <wx/wx.h>
 #include <boost/filesystem.hpp>
@@ -34,11 +36,14 @@ public:
        boost::filesystem::path directory () const;
        bool write_to () const;
        dcp::Formulation formulation () const;
+       KDMNameFormat name_format () const;
 
        void setup_sensitivity ();
+       void save_kdm_name_format () const;
 
 private:
        wxChoice* _type;
+       NameFormatEditor<KDMNameFormat>* _filename_format;
        wxRadioButton* _write_to;
 #ifdef DCPOMATIC_USE_OWN_PICKER
        DirPickerCtrl* _folder;