summaryrefslogtreecommitdiff
path: root/Libraries/LibAudio/AClientConnection.h
blob: 1a6c00abac90c7f6fa405a8a284ec2013c018288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <LibAudio/ASAPI.h>
#include <LibCore/CoreIPCClient.h>

class ABuffer;

class AClientConnection : public IPC::Client::Connection<ASAPI_ServerMessage, ASAPI_ClientMessage> {
    C_OBJECT(AClientConnection)
public:
    AClientConnection();

    virtual void handshake() override;
    void enqueue(const ABuffer&);
};