summaryrefslogtreecommitdiffstats
path: root/src/handle_event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/handle_event.cpp')
-rw-r--r--src/handle_event.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/handle_event.cpp b/src/handle_event.cpp
index 98a81f3..d3752d1 100644
--- a/src/handle_event.cpp
+++ b/src/handle_event.cpp
@@ -38,6 +38,16 @@ public:
: _patchage{patchage}
{}
+ void operator()(const DriverAttachmentEvent& event)
+ {
+ _patchage.driver_attached(event.type);
+ }
+
+ void operator()(const DriverDetachmentEvent& event)
+ {
+ _patchage.driver_detached(event.type);
+ }
+
void operator()(const ClientCreationEvent& event)
{
// Don't create empty modules, they will be created when ports are added