summaryrefslogtreecommitdiffstats
path: root/src/Event.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Event.hpp')
-rw-r--r--src/Event.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Event.hpp b/src/Event.hpp
index 378f35eb..233d1a1 100644
--- a/src/Event.hpp
+++ b/src/Event.hpp
@@ -28,6 +28,8 @@
namespace patchage {
namespace event {
+struct Cleared {};
+
struct ClientCreated {
ClientID id;
ClientInfo info;
@@ -67,7 +69,8 @@ struct PortsDisconnected {
} // namespace event
/// An event from drivers that represents a change to the system
-using Event = boost::variant<event::ClientCreated,
+using Event = boost::variant<event::Cleared,
+ event::ClientCreated,
event::ClientDestroyed,
event::DriverAttached,
event::DriverDetached,