diff options
Diffstat (limited to 'src/JackDriver.hpp')
-rw-r--r-- | src/JackDriver.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/JackDriver.hpp b/src/JackDriver.hpp index 442ce74..0875703 100644 --- a/src/JackDriver.hpp +++ b/src/JackDriver.hpp @@ -26,11 +26,12 @@ #include <mutex> #include <string> +class ILog; class Patchage; -class PatchageEvent; class PatchageCanvas; -class PatchagePort; +class PatchageEvent; class PatchageModule; +class PatchagePort; /** Handles all externally driven functionality, registering ports etc. * @@ -40,7 +41,7 @@ class PatchageModule; class JackDriver : public Driver { public: - explicit JackDriver(Patchage* app); + explicit JackDriver(Patchage* app, ILog& log); JackDriver(const JackDriver&) = delete; JackDriver& operator=(const JackDriver&) = delete; @@ -108,6 +109,7 @@ private: static void jack_shutdown_cb(void* jack_driver); Patchage* _app; + ILog& _log; jack_client_t* _client; Queue<PatchageEvent> _events; |