mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00

Sticking these in a namespace allows us to use a more generic ("Connection") term without clashing, which is way easier to understand than to try to come up with unique names for both.
16 lines
366 B
C++
16 lines
366 B
C++
#pragma once
|
|
|
|
#include <LibCore/CLocalSocket.h>
|
|
#include <LibCore/CNotifier.h>
|
|
#include <LibCore/CoreIPCClient.h>
|
|
#include <LibAudio/ASAPI.h>
|
|
|
|
class ABuffer;
|
|
|
|
class AClientConnection : public IPC::Client::Connection<ASAPI_ServerMessage, ASAPI_ClientMessage> {
|
|
public:
|
|
AClientConnection();
|
|
|
|
void handshake() override;
|
|
void play(const ABuffer& buffer);
|
|
};
|