summaryrefslogtreecommitdiff
path: root/src/wx/audio_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-25 00:28:03 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-25 00:28:03 +0000
commit5702637ee38f0349fd0b7f17f10bda581e795a9d (patch)
tree48ce4ccfd3f61590adb86a8ff542d999018c6c7f /src/wx/audio_dialog.h
parent32ae1f11a9d3e1530c3939190690b5a524997ccb (diff)
Respond to gain in the audio dialog.
Diffstat (limited to 'src/wx/audio_dialog.h')
-rw-r--r--src/wx/audio_dialog.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h
index 1e4563972..968fd0a12 100644
--- a/src/wx/audio_dialog.h
+++ b/src/wx/audio_dialog.h
@@ -18,7 +18,9 @@
*/
#include <boost/shared_ptr.hpp>
+#include <boost/signals2.hpp>
#include <wx/wx.h>
+#include "lib/film.h"
class AudioPlot;
class Film;
@@ -31,8 +33,11 @@ public:
void set_film (boost::shared_ptr<Film>);
private:
+ void film_changed (Film::Property);
void channel_changed (wxCommandEvent &);
-
+
+ boost::shared_ptr<Film> _film;
AudioPlot* _plot;
wxChoice* _channel;
+ boost::signals2::scoped_connection _film_connection;
};