diff options
Diffstat (limited to 'src/PatchageEvent.hpp')
-rw-r--r-- | src/PatchageEvent.hpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp index d5add47..0095cde 100644 --- a/src/PatchageEvent.hpp +++ b/src/PatchageEvent.hpp @@ -19,6 +19,7 @@ #include "ClientID.hpp" #include "ClientInfo.hpp" +#include "ClientType.hpp" #include "PortID.hpp" #include "PortInfo.hpp" @@ -26,6 +27,16 @@ #include <string> +struct DriverAttachmentEvent +{ + ClientType type; +}; + +struct DriverDetachmentEvent +{ + ClientType type; +}; + struct ClientCreationEvent { ClientID id; @@ -61,7 +72,9 @@ struct DisconnectionEvent }; /// An event from drivers that is processed by the GUI -using PatchageEvent = boost::variant<ClientCreationEvent, +using PatchageEvent = boost::variant<DriverAttachmentEvent, + DriverDetachmentEvent, + ClientCreationEvent, ClientDestructionEvent, PortCreationEvent, PortDestructionEvent, |