Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / wx / kdm_output_panel.h
index 872d23a8f9f6afe38d4b15e33d43ee42386dab65..3b82321c6c2aa58c8d2b64bc8753653868358bdd 100644 (file)
@@ -29,6 +29,7 @@ LIBDCP_ENABLE_WARNINGS
 #include <boost/filesystem.hpp>
 
 
+class CheckBox;
 class DirPickerCtrl;
 class Job;
 class KDMChoice;
@@ -62,16 +63,25 @@ public:
                std::function<bool (boost::filesystem::path)> confirm_overwrite
                );
 
+       bool method_selected() const;
+
+       void set_annotation_text(std::string text);
+       std::string annotation_text() const;
+
+       boost::signals2::signal<void ()> MethodChanged;
+
 private:
        void kdm_write_type_changed ();
        void advanced_clicked ();
        void write_to_changed ();
        void email_changed ();
+       void add_email_addresses_clicked ();
 
        KDMChoice* _type;
+       wxTextCtrl* _annotation_text;
        NameFormatEditor* _container_name_format;
        NameFormatEditor* _filename_format;
-       wxCheckBox* _write_to;
+       CheckBox* _write_to;
 #ifdef DCPOMATIC_USE_OWN_PICKER
        DirPickerCtrl* _folder;
 #else
@@ -80,8 +90,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;
 };