summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.h')
-rw-r--r--src/wx/film_viewer.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h
index 2a6239d7d..ad9b810db 100644
--- a/src/wx/film_viewer.h
+++ b/src/wx/film_viewer.h
@@ -25,6 +25,7 @@
#include "optimisation.h"
+#include "signal.h"
#include "video_view.h"
#include "lib/change_signaller.h"
#include "lib/config.h"
@@ -156,16 +157,17 @@ public:
Frame average_latency() const;
/** The image we are viewing changed: call last_image() to get the image */
- boost::signals2::signal<void ()> ImageChanged;
+ UISignal<void ()> ImageChanged;
std::shared_ptr<const PlayerVideo> last_image() const;
- boost::signals2::signal<void ()> Started;
- boost::signals2::signal<void ()> Stopped;
+ UISignal<void ()> Started;
+ UISignal<void ()> Stopped;
/** While playing back we reached the end of the film (emitted from GUI thread) */
- boost::signals2::signal<void ()> Finished;
+ UISignal<void ()> Finished;
/** Emitted from the GUI thread when a lot of frames are being dropped */
- boost::signals2::signal<void()> TooManyDropped;
+ UISignal<void()> TooManyDropped;
+ /* XXX: could be UISignal but this needs a return type and that is tricky in C++11 AFAICS */
boost::signals2::signal<bool ()> PlaybackPermitted;
private: