1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:58:13 +00:00
serenity/Libraries/LibAudio/AClientConnection.h
Robin Burchell 2177594c96 Port LibGUI to use CIPCClientSideConnection
As a consequence, move to use an explicit handshake() method rather than
calling virtuals from the constructor. This seemed to not bother
AClientConnection, but LibGUI crashes (rightfully) because of it.
2019-07-17 20:16:44 +02:00

16 lines
378 B
C++

#pragma once
#include <LibCore/CLocalSocket.h>
#include <LibCore/CNotifier.h>
#include <LibCore/CIPCClientSideConnection.h>
#include <LibAudio/ASAPI.h>
class ABuffer;
class AClientConnection : public CIPCClientSideConnection<ASAPI_ServerMessage, ASAPI_ClientMessage> {
public:
AClientConnection();
void handshake() override;
void play(const ABuffer& buffer);
};