X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fkdm_output_panel.h;h=872d23a8f9f6afe38d4b15e33d43ee42386dab65;hb=3c29aa6531a4046a8db72dcac81189eb8893233c;hp=0281b26d0d8253ab2d24d0fedd9aeee61f0cba15;hpb=47e29203daec51d313ed8ab8ef759752bce18d45;p=dcpomatic.git diff --git a/src/wx/kdm_output_panel.h b/src/wx/kdm_output_panel.h index 0281b26d0..872d23a8f 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/kdm_with_metadata.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 (); @@ -51,17 +56,19 @@ public: 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, - boost::function confirm_overwrite + std::function confirm_overwrite ); private: void kdm_write_type_changed (); void advanced_clicked (); + void write_to_changed (); + void email_changed (); - wxChoice* _type; + KDMChoice* _type; NameFormatEditor* _container_name_format; NameFormatEditor* _filename_format; wxCheckBox* _write_to;