X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fkdm_output_panel.h;h=9c30e286c856a34158c5a826afea64127fb0d52e;hb=cacb0750b9e6efbefa5ffa33a0df9552db5483db;hp=ed162e0535bc19d32f78978206495ef7519478e5;hpb=ad1ef39eda58b3a919ea3b7084401a0439409ec6;p=dcpomatic.git diff --git a/src/wx/kdm_output_panel.h b/src/wx/kdm_output_panel.h index ed162e053..9c30e286c 100644 --- a/src/wx/kdm_output_panel.h +++ b/src/wx/kdm_output_panel.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015-2017 Carl Hetherington + Copyright (C) 2015-2022 Carl Hetherington This file is part of DCP-o-matic. @@ -18,24 +18,29 @@ */ -#include "lib/screen_kdm.h" + #include "wx_util.h" -#include "name_format_editor.h" +#include "lib/kdm_with_metadata.h" #include +#include +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS #include -class wxRadioButton; -class wxDirPickerCtrl; + class DirPickerCtrl; -class KDMTimingPanel; class Job; -class Log; +class KDMChoice; +class NameFormatEditor; +class wxDirPickerCtrl; +class wxRadioButton; + class KDMOutputPanel : public wxPanel { public: - KDMOutputPanel (wxWindow* parent, bool interop); + KDMOutputPanel (wxWindow* parent); void setup_sensitivity (); @@ -47,19 +52,24 @@ public: bool forensic_mark_audio () const { return _forensic_mark_audio; } + boost::optional forensic_mark_audio_up_to () const { + return _forensic_mark_audio_up_to; + } - std::pair, int> make ( - std::list screen_kdms, + std::pair, int> make ( + std::list screen_kdms, std::string name, - KDMTimingPanel* timing, - boost::function confirm_overwrite + std::function confirm_overwrite ); private: void kdm_write_type_changed (); 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; @@ -74,4 +84,6 @@ private: wxCheckBox* _email; bool _forensic_mark_video; bool _forensic_mark_audio; + boost::optional _forensic_mark_audio_up_to; + std::vector _extra_addresses; };