mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:07:36 +00:00
Userland: Get rid of the OwnPtr<...> boilerplate code for IPC handlers
This commit is contained in:
parent
1a015dc379
commit
7cf2839a26
33 changed files with 389 additions and 385 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue