Store subtitle language(s) in Film, and allow setup of those
[dcpomatic.git] / src / wx / interop_metadata_dialog.h
index 43d028eabb923cc836a524d540effbfd541b3e14..189e28e2ba08406659a17559fdcd58bfcaeb9ce7 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2019 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2020 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -19,6 +19,7 @@
 */
 
 #include "editable_list.h"
+#include <dcp/language_tag.h>
 #include <dcp/types.h>
 #include <wx/wx.h>
 #include <boost/shared_ptr.hpp>
 #include <vector>
 
 class Film;
+class LanguageTagWidget;
 class RatingDialog;
 
+
 class InteropMetadataDialog : public wxDialog
 {
 public:
@@ -37,8 +40,12 @@ private:
        std::vector<dcp::Rating> ratings () const;
        void set_ratings (std::vector<dcp::Rating> r);
        void content_version_changed ();
+       void setup_sensitivity ();
+       void subtitle_language_changed (dcp::LanguageTag tag);
 
        boost::weak_ptr<Film> _film;
+       wxCheckBox* _enable_subtitle_language;
+       LanguageTagWidget* _subtitle_language;
        EditableList<dcp::Rating, RatingDialog>* _ratings;
        wxTextCtrl* _content_version;
 };