summaryrefslogtreecommitdiff
path: root/src/wx/audio_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-25 19:27:58 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-25 19:27:58 +0000
commit8bfb6ae0780b0bf3318c345df78518ad3fabc9fc (patch)
treec423e4619fff25b91f85eaa5f4509dc26fda218c /src/wx/audio_dialog.h
parentd371988d26f8c9c4240dc3794df044cbe95d5d0d (diff)
Tidy up creation of analysis a bit.
Diffstat (limited to 'src/wx/audio_dialog.h')
-rw-r--r--src/wx/audio_dialog.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h
index 968fd0a12..623c9a067 100644
--- a/src/wx/audio_dialog.h
+++ b/src/wx/audio_dialog.h
@@ -28,16 +28,19 @@ class Film;
class AudioDialog : public wxDialog
{
public:
- AudioDialog (wxWindow *, boost::shared_ptr<Film>);
+ AudioDialog (wxWindow *);
void set_film (boost::shared_ptr<Film>);
private:
void film_changed (Film::Property);
void channel_changed (wxCommandEvent &);
+ void try_to_load_analysis ();
+ void setup_channels ();
boost::shared_ptr<Film> _film;
AudioPlot* _plot;
wxChoice* _channel;
- boost::signals2::scoped_connection _film_connection;
+ boost::signals2::scoped_connection _film_changed_connection;
+ boost::signals2::scoped_connection _film_audio_analysis_finished_connection;
};