aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/src/message.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/message.h
parent29ca6bac4565d754a67414e503a215627d3aa566 (diff)
Working with hardcoded routing table
Diffstat (limited to 'daemon/src/message.h')
-rw-r--r--daemon/src/message.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/daemon/src/message.h b/daemon/src/message.h
deleted file mode 100644
index 4668e0c..0000000
--- a/daemon/src/message.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#pragma once
-
-#include "types.h"
-
-#include <string>
-#include <cstdint>
-#include <array>
-
-namespace midi_router
-{
-
-struct Message
-{
- Device_Id const * source_id;
- std::array<std::uint8_t, 3> bytes;
-
- Message_Type
- type() const
- {
- if (bytes[0] & 0xF0 == 0xF0) return static_cast<Message_Type>(bytes[0]);
- else return static_cast<Message_Type>(bytes[0] >> 4);
- }
-};
-
-} // namespace midi_router