summaryrefslogtreecommitdiffstats
path: root/src/JackDbusDriver.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 17:58:13 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:42:52 +0100
commitd6523b8e44d72241d6365767dd78e25f71291f53 (patch)
tree20259dc5d119d2dea6c847cca4953d0c0846ef5f /src/JackDbusDriver.hpp
parent7c991383000520d03acfb7a1adfd834dd7c8e35e (diff)
downloadpatchage-d6523b8e44d72241d6365767dd78e25f71291f53.tar.gz
patchage-d6523b8e44d72241d6365767dd78e25f71291f53.tar.bz2
patchage-d6523b8e44d72241d6365767dd78e25f71291f53.zip
Fix warnings in Jack DBus driver
Diffstat (limited to 'src/JackDbusDriver.hpp')
-rw-r--r--src/JackDbusDriver.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/JackDbusDriver.hpp b/src/JackDbusDriver.hpp
index acbdc77..aac7cd7 100644
--- a/src/JackDbusDriver.hpp
+++ b/src/JackDbusDriver.hpp
@@ -38,6 +38,12 @@ class JackDriver : public Driver
public:
explicit JackDriver(Patchage* app);
+ JackDriver(const JackDriver&) = delete;
+ JackDriver& operator=(const JackDriver&) = delete;
+
+ JackDriver(JackDriver&&) = delete;
+ JackDriver& operator=(JackDriver&&) = delete;
+
~JackDriver() override;
void attach(bool launch_daemon) override;
@@ -130,13 +136,12 @@ private:
static DBusHandlerResult dbus_message_hook(DBusConnection* connection,
DBusMessage* message,
- void* me);
+ void* jack_driver);
void on_jack_appeared();
void on_jack_disappeared();
-private:
Patchage* _app;
DBusError _dbus_error;
DBusConnection* _dbus_connection;