summaryrefslogtreecommitdiff
path: root/src/wx/audio_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/audio_dialog.h')
-rw-r--r--src/wx/audio_dialog.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h
index db1d74f30..c69baf282 100644
--- a/src/wx/audio_dialog.h
+++ b/src/wx/audio_dialog.h
@@ -31,20 +31,19 @@ class AudioDialog : public wxDialog
public:
AudioDialog (wxWindow *);
- void set_film (boost::shared_ptr<Film>);
+ void set_content (boost::shared_ptr<AudioContent>);
private:
- void film_changed (Film::Property);
+ void content_changed (int);
void channel_clicked (wxCommandEvent &);
void type_clicked (wxCommandEvent &);
void smoothing_changed (wxScrollEvent &);
void try_to_load_analysis ();
- boost::shared_ptr<Film> _film;
+ boost::shared_ptr<AudioContent> _content;
AudioPlot* _plot;
wxCheckBox* _channel_checkbox[MAX_AUDIO_CHANNELS];
wxCheckBox* _type_checkbox[AudioPoint::COUNT];
wxSlider* _smoothing;
- boost::signals2::scoped_connection _film_changed_connection;
- boost::signals2::scoped_connection _film_audio_analysis_succeeded_connection;
+ boost::signals2::scoped_connection _content_changed_connection;
};