aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/src/sender.h
blob: 35f0fe312c054bb2564b0f0bf620ed15bde588e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <cstdint>
#include <vector>
#include <string>

namespace midi_router
{

class Sender
{
public:
    virtual void
    send(std::vector<std::uint8_t> const & payload) = 0;

    virtual std::string
    get_id() const = 0;
};

} // namespace midi_router