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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/src/types.h b/daemon/src/types.h
index 78e85df..251adf8 100644
--- a/daemon/src/types.h
+++ b/daemon/src/types.h
@@ -8,6 +8,7 @@
#include <map>
#include <vector>
#include <functional>
+#include <utility>
namespace midi_router
{
@@ -31,7 +32,7 @@ enum class Message_Type
};
using Device_Id = std::string;
-using Device_Map = std::map<std::string, Device_Id>;
+using Device_Map = std::map<std::string, std::pair<Device_Id, bool>>;
using Target_List = std::vector<std::reference_wrapper<Sender>>;
using Route_Table = std::map<Device_Id, std::map<Message_Type, Target_List>>;