X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_advanced_dialog.h;h=517ad04e538426a73eac4068ef98a0b1b495e028;hb=13fae8b9710e1f630fafdc62ecd06c723edf7ff0;hp=1dd2b472d917a8e715bdd80a0ffeee95faf2232e;hpb=3c29aa6531a4046a8db72dcac81189eb8893233c;p=dcpomatic.git diff --git a/src/wx/content_advanced_dialog.h b/src/wx/content_advanced_dialog.h index 1dd2b472d..517ad04e5 100644 --- a/src/wx/content_advanced_dialog.h +++ b/src/wx/content_advanced_dialog.h @@ -19,14 +19,17 @@ */ +#include #include LIBDCP_DISABLE_WARNINGS #include LIBDCP_ENABLE_WARNINGS +#include #include #include +class CheckBox; class Content; class Filter; class LanguageTagWidget; @@ -37,8 +40,16 @@ class ContentAdvancedDialog : public wxDialog public: ContentAdvancedDialog (wxWindow* parent, std::shared_ptr content); + bool ignore_video() const; + + std::vector filters() { + return _filters_list; + } + + boost::optional video_frame_rate() const; + boost::optional burnt_subtitle_language() const; + private: - void ignore_video_changed (wxCommandEvent& ev); void edit_filters (); void filters_changed (std::vector filters); void setup_filters (); @@ -46,15 +57,17 @@ private: void video_frame_rate_changed (); void setup_sensitivity (); void burnt_subtitle_changed (); - void burnt_subtitle_language_changed (); std::shared_ptr _content; + bool _filters_allowed = false; + std::vector _filters_list; wxStaticText* _filters; wxButton* _filters_button; wxTextCtrl* _video_frame_rate; wxButton* _set_video_frame_rate; - wxCheckBox* _burnt_subtitle; + CheckBox* _burnt_subtitle; LanguageTagWidget* _burnt_subtitle_language; + CheckBox* _ignore_video; };