diff options
author | Gunnar Beutner <gbeutner@serenityos.org> | 2021-05-02 04:39:36 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-02 08:11:38 +0200 |
commit | 7cf2839a262a38e00f110bee1102020c658ac476 (patch) | |
tree | a94b0916c48de61beb76171d85f6c113903090dd /Userland/Libraries/LibIPC/Endpoint.h | |
parent | 1a015dc379b81cde5a7ee1518f4704320ed736a2 (diff) | |
download | serenity-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.h | 3 |
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(); |