diff options
author | Robin Burchell <robin+git@viroteck.net> | 2019-07-14 12:50:13 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-14 15:29:59 +0200 |
commit | 818a29c964c6b1d0beac47d455459bb9f2b9d79d (patch) | |
tree | 0c119fb88c7a46b7edf4a6b80f0ef3e76c3e1d3d /Servers/WindowServer/WSClientConnection.h | |
parent | 7b75632e5c36d0df5d8a437e7acdbcad58a31d2b (diff) | |
download | serenity-818a29c964c6b1d0beac47d455459bb9f2b9d79d.zip |
WSEventLoop: Move message processing into WSClientConnection
Tidier encapsulation than splitting messages between two classes.
Diffstat (limited to 'Servers/WindowServer/WSClientConnection.h')
-rw-r--r-- | Servers/WindowServer/WSClientConnection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Servers/WindowServer/WSClientConnection.h b/Servers/WindowServer/WSClientConnection.h index 7032a5e186..747bebc2a0 100644 --- a/Servers/WindowServer/WSClientConnection.h +++ b/Servers/WindowServer/WSClientConnection.h @@ -43,9 +43,12 @@ public: void did_misbehave(); + void on_ready_read(); + private: virtual void event(CEvent&) override; + bool handle_message(const WSAPI_ClientMessage& message, ByteBuffer&& extra_data); void on_request(const WSAPIClientRequest&); void handle_request(const WSAPICreateMenubarRequest&); void handle_request(const WSAPIDestroyMenubarRequest&); |