summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIPC/Endpoint.h
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-02 04:39:36 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-02 08:11:38 +0200
commit7cf2839a262a38e00f110bee1102020c658ac476 (patch)
treea94b0916c48de61beb76171d85f6c113903090dd /Userland/Libraries/LibIPC/Endpoint.h
parent1a015dc379b81cde5a7ee1518f4704320ed736a2 (diff)
downloadserenity-7cf2839a262a38e00f110bee1102020c658ac476.zip
Userland: Get rid of the OwnPtr<...> boilerplate code for IPC handlers
Diffstat (limited to 'Userland/Libraries/LibIPC/Endpoint.h')
-rw-r--r--Userland/Libraries/LibIPC/Endpoint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibIPC/Endpoint.h b/Userland/Libraries/LibIPC/Endpoint.h
index 96176899f4..74184c8a80 100644
--- a/Userland/Libraries/LibIPC/Endpoint.h
+++ b/Userland/Libraries/LibIPC/Endpoint.h
@@ -16,6 +16,7 @@ class BufferStream;
namespace IPC {
class Message;
+class MessageBuffer;
class Endpoint {
public:
@@ -23,7 +24,7 @@ public:
virtual u32 magic() const = 0;
virtual String name() const = 0;
- virtual OwnPtr<Message> handle(const Message&) = 0;
+ virtual OwnPtr<MessageBuffer> handle(const Message&) = 0;
protected:
Endpoint();