aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/src/sender.h
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2025-07-23 22:33:05 +0200
committerEddy Pedroni <epedroni@pm.me>2025-07-23 22:33:05 +0200
commitc5c195ff5318f00d544c0fbceb133abcc4ba7a5a (patch)
tree1c7a3e646f6eb72d748dd606fe9e8e12175b39bd /daemon/src/sender.h
parent41f95375a65a3f67a75258680d6d8b03bb4d678b (diff)
MVP
Diffstat (limited to 'daemon/src/sender.h')
-rw-r--r--daemon/src/sender.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/daemon/src/sender.h b/daemon/src/sender.h
index b7437c5..35f0fe3 100644
--- a/daemon/src/sender.h
+++ b/daemon/src/sender.h
@@ -1,7 +1,8 @@
#pragma once
#include <cstdint>
-#include <array>
+#include <vector>
+#include <string>
namespace midi_router
{
@@ -10,7 +11,10 @@ class Sender
{
public:
virtual void
- send(std::array<std::uint8_t, 3> const & payload) = 0;
+ send(std::vector<std::uint8_t> const & payload) = 0;
+
+ virtual std::string
+ get_id() const = 0;
};
} // namespace midi_router