Cleanup: use new CheckBox::bind().
[dcpomatic.git] / src / wx / kdm_output_panel.h
index 0025b0072655292f837ccbd424c15bc84e5beebd..040815392d0036cd2a69b84a1643e65b2a00d827 100644 (file)
 */
 
 
-#include "lib/kdm_with_metadata.h"
 #include "wx_util.h"
+#include "lib/kdm_with_metadata.h"
 #include <dcp/types.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
 #include <boost/filesystem.hpp>
 
 
+class CheckBox;
 class DirPickerCtrl;
 class Job;
+class KDMChoice;
 class NameFormatEditor;
 class wxDirPickerCtrl;
 class wxRadioButton;
@@ -63,11 +68,12 @@ private:
        void advanced_clicked ();
        void write_to_changed ();
        void email_changed ();
+       void add_email_addresses_clicked ();
 
-       wxChoice* _type;
+       KDMChoice* _type;
        NameFormatEditor* _container_name_format;
        NameFormatEditor* _filename_format;
-       wxCheckBox* _write_to;
+       CheckBox* _write_to;
 #ifdef DCPOMATIC_USE_OWN_PICKER
        DirPickerCtrl* _folder;
 #else
@@ -76,8 +82,9 @@ private:
        wxRadioButton* _write_flat;
        wxRadioButton* _write_folder;
        wxRadioButton* _write_zip;
-       wxCheckBox* _email;
+       CheckBox* _email;
        bool _forensic_mark_video;
        bool _forensic_mark_audio;
        boost::optional<int> _forensic_mark_audio_up_to;
+       std::vector<std::string> _extra_addresses;
 };