mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +00:00
WindowServer+AudioServer: Add some missing C_OBJECT macros.
This commit is contained in:
parent
60a9a232be
commit
e6eba24405
Notes:
sideshowbarker
2024-07-19 13:01:28 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e6eba244055
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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue