Fix GL information fetching.
[dcpomatic.git] / src / wx / audio_panel.h
index 09aae055246156269630b1130ef81966c3f3e5d0..5e8f925975c6e41564d5f76a70fc3bbe22b19630 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "lib/audio_mapping.h"
 #include "content_sub_panel.h"
 #include "content_widget.h"
 
+
 class wxSpinCtrlDouble;
 class wxButton;
 class wxChoice;
 class wxStaticText;
 class AudioMappingView;
 class AudioDialog;
+class LanguageTagWidget;
+
 
 class AudioPanel : public ContentSubPanel
 {
@@ -35,10 +39,11 @@ public:
        explicit AudioPanel (ContentPanel *);
        ~AudioPanel ();
 
-       void film_changed (Film::Property);
-       void film_content_changed (int);
-       void content_selection_changed ();
-       void set_film (boost::shared_ptr<Film>);
+       void create () override;
+       void film_changed (Film::Property) override;
+       void film_content_changed (int) override;
+       void content_selection_changed () override;
+       void set_film (std::shared_ptr<Film>);
 
 private:
        void show_clicked ();
@@ -49,7 +54,8 @@ private:
        void active_jobs_changed (boost::optional<std::string>, boost::optional<std::string>);
        void setup_sensitivity ();
        void reference_clicked ();
-       void add_to_grid ();
+       void add_to_grid () override;
+       boost::optional<float> peak () const;
 
        wxCheckBox* _reference;
        wxStaticText* _reference_note;