/** A class to allow signals to be emitted from non-UI threads and handled
* by a UI thread.
*/
-class UISignaller
+class UISignaller : public boost::noncopyable
{
public:
/** Create a UISignaller. Must be called from the UI thread */
}
/** Call this in the UI when it is idle */
- void ui_idle () {
- _service.poll ();
+ size_t ui_idle () {
+ return _service.poll ();
}
/** This should wake the UI and make it call ui_idle() */