summaryrefslogtreecommitdiffstats
path: root/src/JackDbusDriver.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 18:54:27 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:52:17 +0100
commitdbe6899651ac929f59af160dd07aaf6bda079b23 (patch)
tree49243cfa13dc3bba18526dc5eeb64f615a23c587 /src/JackDbusDriver.hpp
parent5dad45517e9dfa8b043f368cf31b2795fb713fde (diff)
downloadpatchage-dbe6899651ac929f59af160dd07aaf6bda079b23.tar.gz
patchage-dbe6899651ac929f59af160dd07aaf6bda079b23.tar.bz2
patchage-dbe6899651ac929f59af160dd07aaf6bda079b23.zip
Factor out log from Patchage class
Towards saner dependencies.
Diffstat (limited to 'src/JackDbusDriver.hpp')
-rw-r--r--src/JackDbusDriver.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/JackDbusDriver.hpp b/src/JackDbusDriver.hpp
index aac7cd7..00c2a83 100644
--- a/src/JackDbusDriver.hpp
+++ b/src/JackDbusDriver.hpp
@@ -29,14 +29,15 @@
#include <string>
-class PatchageEvent;
+class ILog;
class PatchageCanvas;
+class PatchageEvent;
class PatchagePort;
class JackDriver : public Driver
{
public:
- explicit JackDriver(Patchage* app);
+ explicit JackDriver(Patchage* app, ILog& log);
JackDriver(const JackDriver&) = delete;
JackDriver& operator=(const JackDriver&) = delete;
@@ -143,6 +144,7 @@ private:
void on_jack_disappeared();
Patchage* _app;
+ ILog& _log;
DBusError _dbus_error;
DBusConnection* _dbus_connection;
float _max_dsp_load;