diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-08-11 22:56:59 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-08-11 22:56:59 +0100 |
| commit | 910ea473219f2e7c672ad437d458316deca67025 (patch) | |
| tree | 1af0895962ad3e122858c42d9b7df54e2d0a9bdd /src/wx/kdm_advanced_dialog.h | |
| parent | bd83f1b0e1d8e7aae0af51376dbbb88d5e3f69d0 (diff) | |
Allow specification of audio forensic marking (in KDMs) for some channels only. Default to enabling forensic marking for video and audio (up to and including channel 12). Fixes #1498.
Diffstat (limited to 'src/wx/kdm_advanced_dialog.h')
| -rw-r--r-- | src/wx/kdm_advanced_dialog.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/wx/kdm_advanced_dialog.h b/src/wx/kdm_advanced_dialog.h index 590c16137..25e47d05c 100644 --- a/src/wx/kdm_advanced_dialog.h +++ b/src/wx/kdm_advanced_dialog.h @@ -19,16 +19,25 @@ */ #include "table_dialog.h" +#include <boost/optional.hpp> + +class wxSpinCtrl; class KDMAdvancedDialog : public TableDialog { public: - KDMAdvancedDialog (wxWindow* parent, bool forensic_mark_video, bool forensic_mark_audio); + KDMAdvancedDialog (wxWindow* parent, bool forensic_mark_video, bool forensic_mark_audio, boost::optional<int> forensic_mark_audio_up_to); bool forensic_mark_video () const; bool forensic_mark_audio () const; + boost::optional<int> forensic_mark_audio_up_to () const; private: + void setup_sensitivity (); + wxCheckBox* _forensic_mark_video; wxCheckBox* _forensic_mark_audio; + wxRadioButton* _forensic_mark_all_audio; + wxRadioButton* _forensic_mark_some_audio; + wxSpinCtrl* _forensic_mark_audio_up_to; }; |
