diff options
Diffstat (limited to 'src/PatchageEvent.hpp')
-rw-r--r-- | src/PatchageEvent.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp index 678f7e0..79f6948 100644 --- a/src/PatchageEvent.hpp +++ b/src/PatchageEvent.hpp @@ -37,14 +37,15 @@ class PatchageEvent { public: enum Type { NULL_EVENT = 0, + REFRESH, PORT_CREATION, PORT_DESTRUCTION, CONNECTION, DISCONNECTION }; - PatchageEvent() - : _type(NULL_EVENT) + PatchageEvent(Type type=NULL_EVENT) + : _type(type) {} PatchageEvent(Type type, jack_port_id_t port) |