summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2022-11-23 13:08:26 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-15 00:21:00 -0700
commit766944128266909e3f91c2090f25e4573ec405c8 (patch)
tree43ee32566aef5dc0b8d4858490e7e67b67107ef6
parent727fb305a82ffada6cb69f3f7cc38407e3256279 (diff)
downloadserenity-766944128266909e3f91c2090f25e4573ec405c8.zip
LibIPC: Add deferred invoker getter
-rw-r--r--Userland/Libraries/LibIPC/Connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibIPC/Connection.h b/Userland/Libraries/LibIPC/Connection.h
index 67e66139bd..42648fa8c4 100644
--- a/Userland/Libraries/LibIPC/Connection.h
+++ b/Userland/Libraries/LibIPC/Connection.h
@@ -42,6 +42,7 @@ public:
void set_fd_passing_socket(NonnullOwnPtr<Core::Stream::LocalSocket>);
void set_deferred_invoker(NonnullOwnPtr<DeferredInvoker>);
+ DeferredInvoker& deferred_invoker() { return *m_deferred_invoker; }
bool is_open() const { return m_socket->is_open(); }
ErrorOr<void> post_message(Message const&);