From 1c5decf5f85b7808a70885c820596fac013cf644 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Nov 2020 19:31:25 +0100 Subject: Factor out getting client and port metadata and send it with events --- src/PatchageEvent.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/PatchageEvent.hpp') diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp index 2a87a2e..d5add47 100644 --- a/src/PatchageEvent.hpp +++ b/src/PatchageEvent.hpp @@ -18,7 +18,9 @@ #define PATCHAGE_PATCHAGEEVENT_HPP #include "ClientID.hpp" +#include "ClientInfo.hpp" #include "PortID.hpp" +#include "PortInfo.hpp" #include @@ -26,7 +28,8 @@ struct ClientCreationEvent { - ClientID id; + ClientID id; + ClientInfo info; }; struct ClientDestructionEvent @@ -36,7 +39,8 @@ struct ClientDestructionEvent struct PortCreationEvent { - PortID id; + PortID id; + PortInfo info; }; struct PortDestructionEvent -- cgit v1.2.1