aboutsummaryrefslogtreecommitdiffstats
path: root/daemon/src/types.h
diff options
context:
space:
mode:
authorEddy Pedroni <epedroni@pm.me>2025-07-22 22:00:00 +0200
committerEddy Pedroni <epedroni@pm.me>2025-07-22 22:00:00 +0200
commit6da14e1590935710055ebc81ba55017b457ca1ad (patch)
tree799daf6f75331183ea48ece00d62ec92f0fc7a51 /daemon/src/types.h
parentf0835be9ffcae8e5c74c8fc6a0da2f7bc49343ac (diff)
Initial daemon implementation, no routing yet
Diffstat (limited to 'daemon/src/types.h')
-rw-r--r--daemon/src/types.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/daemon/src/types.h b/daemon/src/types.h
new file mode 100644
index 0000000..f09fb88
--- /dev/null
+++ b/daemon/src/types.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <string>
+#include <map>
+#include <vector>
+
+namespace midi_router
+{
+
+using Device_Id = std::string;
+using Device_Map = std::map<std::string, Device_Id>;
+using Target_List = std::vector<Device_Id>;
+using Route_Map = std::map<Device_Id, Target_List>;
+
+} // namespace midi_router