summaryrefslogtreecommitdiffstats
path: root/src/Driver.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-29 18:31:45 +0100
committerDavid Robillard <d@drobilla.net>2020-11-29 18:31:45 +0100
commit98e2535b82ab601081a56c8a22d789d2da25cfd8 (patch)
tree5627e1219725342edd6aba36cd48ba24a256ba1c /src/Driver.hpp
parent178d1cbe1dfc9e7b66c36cbb75590e1cee419174 (diff)
downloadpatchage-98e2535b82ab601081a56c8a22d789d2da25cfd8.tar.gz
patchage-98e2535b82ab601081a56c8a22d789d2da25cfd8.tar.bz2
patchage-98e2535b82ab601081a56c8a22d789d2da25cfd8.zip
Use more reasonable class names
Diffstat (limited to 'src/Driver.hpp')
-rw-r--r--src/Driver.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Driver.hpp b/src/Driver.hpp
index 7873ef3..231b7a2 100644
--- a/src/Driver.hpp
+++ b/src/Driver.hpp
@@ -17,7 +17,7 @@
#ifndef PATCHAGE_DRIVER_HPP
#define PATCHAGE_DRIVER_HPP
-#include "PatchageEvent.hpp"
+#include "Event.hpp"
#include <functional>
#include <utility>
@@ -28,7 +28,7 @@ namespace patchage {
class Driver
{
public:
- using EventSink = std::function<void(const PatchageEvent&)>;
+ using EventSink = std::function<void(const Event&)>;
explicit Driver(EventSink emit_event)
: _emit_event{std::move(emit_event)}