aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/src/message.h
diff options
context:
space:
mode:
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