aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/SignalMonitor.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/SignalMonitor.hxx')
-rw-r--r--src/event/SignalMonitor.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/event/SignalMonitor.hxx b/src/event/SignalMonitor.hxx
index 94ab0aa30..1ecccd40b 100644
--- a/src/event/SignalMonitor.hxx
+++ b/src/event/SignalMonitor.hxx
@@ -41,6 +41,13 @@ void
SignalMonitorFinish();
/**
+ * Obtain a reference to the #EventLoop that was passed to
+ * SignalMonitorInit().
+ */
+EventLoop &
+SignalMonitorGetEventLoop();
+
+/**
* Register a handler for the specified signal. The handler will be
* invoked in a safe context.
*/