From e6eba244055c19af660fb1ffa315c9325cf9d492 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 27 Jul 2019 18:43:59 +0200 Subject: [PATCH] WindowServer+AudioServer: Add some missing C_OBJECT macros. --- Servers/AudioServer/ASClientConnection.h | 8 +++----- 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 #include +#include class ASMixer; -class ASClientConnection final : public IPC::Server::Connection -{ +class ASClientConnection final : public IPC::Server::Connection { + 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 { + C_OBJECT(WSClientConnection) public: explicit WSClientConnection(CLocalSocket&, int client_id); ~WSClientConnection() override;