aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/src/sender.h
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2025-07-23 14:05:13 +0200
committerEddy Pedroni <epedroni@pm.me>2025-07-23 14:05:13 +0200
commit41f95375a65a3f67a75258680d6d8b03bb4d678b (patch)
tree57a2ffafc6d9203fa1dde1249b2ec83110fff72e /daemon/src/sender.h
parent29ca6bac4565d754a67414e503a215627d3aa566 (diff)
Working with hardcoded routing table
Diffstat (limited to 'daemon/src/sender.h')
-rw-r--r--daemon/src/sender.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/daemon/src/sender.h b/daemon/src/sender.h
new file mode 100644
index 0000000..b7437c5
--- /dev/null
+++ b/daemon/src/sender.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <cstdint>
+#include <array>
+
+namespace midi_router
+{
+
+class Sender
+{
+public:
+ virtual void
+ send(std::array<std::uint8_t, 3> const & payload) = 0;
+};
+
+} // namespace midi_router
+