diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-27 18:43:59 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-27 18:43:59 +0200 |
commit | e6eba244055c19af660fb1ffa315c9325cf9d492 (patch) | |
tree | 4f1ec04a61f85e5f5ec1f70b424b19caca3476c3 /Servers | |
parent | 60a9a232be4c51340e57082f6a4884cd49f80cd6 (diff) | |
download | serenity-e6eba244055c19af660fb1ffa315c9325cf9d492.zip |
WindowServer+AudioServer: Add some missing C_OBJECT macros.
Diffstat (limited to 'Servers')
-rw-r--r-- | Servers/AudioServer/ASClientConnection.h | 8 | ||||
-rw-r--r-- | Servers/WindowServer/WSClientConnection.h | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/Servers/AudioServer/ASClientConnection.h b/Servers/AudioServer/ASClientConnection.h index 9699267f0c..78a9d19e7a 100644 --- a/Servers/AudioServer/ASClientConnection.h +++ b/Servers/AudioServer/ASClientConnection.h @@ -1,20 +1,18 @@ #pragma once -#include <LibCore/CoreIPCServer.h> #include <LibAudio/ASAPI.h> +#include <LibCore/CoreIPCServer.h> class ASMixer; -class ASClientConnection final : public IPC::Server::Connection<ASAPI_ServerMessage, ASAPI_ClientMessage> -{ +class ASClientConnection final : public IPC::Server::Connection<ASAPI_ServerMessage, ASAPI_ClientMessage> { + C_OBJECT(ASClientConnection) public: explicit ASClientConnection(CLocalSocket&, int client_id, ASMixer& mixer); ~ASClientConnection() override; void send_greeting() override; bool handle_message(const ASAPI_ClientMessage&, const ByteBuffer&& = {}) override; - const char* class_name() const override { return "ASClientConnection"; } private: ASMixer& m_mixer; }; - diff --git a/Servers/WindowServer/WSClientConnection.h b/Servers/WindowServer/WSClientConnection.h index e2356f7190..8038ffe2e4 100644 --- a/Servers/WindowServer/WSClientConnection.h +++ b/Servers/WindowServer/WSClientConnection.h @@ -15,6 +15,7 @@ class WSMenu; class WSMenuBar; class WSClientConnection final : public IPC::Server::Connection<WSAPI_ServerMessage, WSAPI_ClientMessage> { + C_OBJECT(WSClientConnection) public: explicit WSClientConnection(CLocalSocket&, int client_id); ~WSClientConnection() override; |