diff options
author | Eddy Pedroni <epedroni@pm.me> | 2025-07-22 22:00:00 +0200 |
---|---|---|
committer | Eddy Pedroni <epedroni@pm.me> | 2025-07-22 22:00:00 +0200 |
commit | 6da14e1590935710055ebc81ba55017b457ca1ad (patch) | |
tree | 799daf6f75331183ea48ece00d62ec92f0fc7a51 /daemon/src/types.h | |
parent | f0835be9ffcae8e5c74c8fc6a0da2f7bc49343ac (diff) |
Initial daemon implementation, no routing yet
Diffstat (limited to 'daemon/src/types.h')
-rw-r--r-- | daemon/src/types.h | 15 |
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 |