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