Accessor for ClosedCaptionsDialog.
[dcpomatic.git] / src / wx / dcp_panel.h
index c43311429a3172e32a39fb9979dcaa1942212f8b..887ae7c77e552c81aad307deb7a963f58fbbca08 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -35,13 +35,16 @@ class wxSizer;
 class wxGridBagSizer;
 
 class AudioDialog;
+class MarkersDialog;
+class MetadataDialog;
 class Film;
+class FilmViewer;
 class Ratio;
 
 class DCPPanel : public boost::noncopyable
 {
 public:
-       DCPPanel (wxNotebook *, boost::shared_ptr<Film>);
+       DCPPanel (wxNotebook *, boost::shared_ptr<Film>, boost::weak_ptr<FilmViewer> viewer);
 
        void set_film (boost::shared_ptr<Film>);
        void set_general_sensitivity (bool);
@@ -77,6 +80,8 @@ private:
        void reel_type_changed ();
        void reel_length_changed ();
        void upload_after_make_dcp_changed ();
+       void markers_clicked ();
+       void metadata_clicked ();
        void reencode_j2k_changed ();
 
        void setup_frame_rate_widget ();
@@ -85,6 +90,7 @@ private:
        void add_to_grid ();
        void add_video_panel_to_grid ();
        void add_audio_panel_to_grid ();
+       void add_audio_processors ();
 
        int minimum_allowed_audio_channels () const;
 
@@ -144,9 +150,15 @@ private:
        wxStaticText* _reel_length_gb_label;
        wxSpinCtrl* _reel_length;
        wxCheckBox* _upload_after_make_dcp;
+       wxButton* _markers;
+       wxButton* _metadata;
+       wxSizer* _audio_panel_sizer;
 
        AudioDialog* _audio_dialog;
+       MarkersDialog* _markers_dialog;
+       MetadataDialog* _metadata_dialog;
 
        boost::shared_ptr<Film> _film;
+       boost::weak_ptr<FilmViewer> _viewer;
        bool _generally_sensitive;
 };