mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00

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.
16 lines
378 B
C++
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);
|
|
};
|