summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-12-19 22:58:06 +0000
committerDavid Robillard <d@drobilla.net>2007-12-19 22:58:06 +0000
commit5c092eb9b185c92fe11926a72a7bdaeb638520b3 (patch)
treeb421007d88df4fa82a02b98d498425bbf54df0f0 /src/PatchageEvent.hpp
parent507ddc607504f0629e9cc110fa1a6b1c28477f85 (diff)
downloadpatchage-5c092eb9b185c92fe11926a72a7bdaeb638520b3.tar.gz
patchage-5c092eb9b185c92fe11926a72a7bdaeb638520b3.tar.bz2
patchage-5c092eb9b185c92fe11926a72a7bdaeb638520b3.zip
Follow ALSA changes, in a kludgey ridiculously slow way.
git-svn-id: http://svn.drobilla.net/lad/patchage@984 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageEvent.hpp')
-rw-r--r--src/PatchageEvent.hpp5
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)