mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:28:13 +00:00
WindowServer+AudioServer: Add some missing C_OBJECT macros.
This commit is contained in:
parent
60a9a232be
commit
e6eba24405
2 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue