Extract colours to VideoView.
[dcpomatic.git] / src / wx / interop_metadata_dialog.h
index 189e28e2ba08406659a17559fdcd58bfcaeb9ce7..b730c12381e85868f877fd77bb417f8884fb297e 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2020 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2020-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "editable_list.h"
+#include "metadata_dialog.h"
 #include <dcp/language_tag.h>
 #include <dcp/types.h>
 #include <wx/wx.h>
-#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
 #include <vector>
 
+
 class Film;
 class LanguageTagWidget;
 class RatingDialog;
 
 
-class InteropMetadataDialog : public wxDialog
+class InteropMetadataDialog : public MetadataDialog
 {
 public:
-       InteropMetadataDialog (wxWindow* parent, boost::weak_ptr<Film> film);
+       InteropMetadataDialog (wxWindow* parent, std::weak_ptr<Film> film);
 
 private:
-       std::vector<dcp::Rating> ratings () const;
+       void setup_standard (wxPanel* panel, wxSizer* sizer) override;
+
        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;
+       std::vector<dcp::Rating> ratings () const;
+
        EditableList<dcp::Rating, RatingDialog>* _ratings;
        wxTextCtrl* _content_version;
 };