diff options
author | David Robillard <d@drobilla.net> | 2020-11-28 19:31:25 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-28 22:49:10 +0100 |
commit | 1c5decf5f85b7808a70885c820596fac013cf644 (patch) | |
tree | 34f873fc6099df1e08af0dd7898f67404622b1f0 /src/PatchageEvent.hpp | |
parent | 37a33e5549354b6142ce4aeacd6a7c627e772f48 (diff) | |
download | patchage-1c5decf5f85b7808a70885c820596fac013cf644.tar.gz patchage-1c5decf5f85b7808a70885c820596fac013cf644.tar.bz2 patchage-1c5decf5f85b7808a70885c820596fac013cf644.zip |
Factor out getting client and port metadata and send it with events
Diffstat (limited to 'src/PatchageEvent.hpp')
-rw-r--r-- | src/PatchageEvent.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
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 <boost/variant/variant.hpp> @@ -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 |