diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:58:08 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:52 +0100 |
commit | 5d588ee9d7fb7da1c3ef6fef2fe30804d23bb857 (patch) | |
tree | ba594e3f70699148e4d7123f2e892e8e954ce622 /src/JackDbusDriver.hpp | |
parent | 5015c289a5c4bcc88b5849d6c137f7f2bd2fde4e (diff) | |
download | patchage-5d588ee9d7fb7da1c3ef6fef2fe30804d23bb857.tar.gz patchage-5d588ee9d7fb7da1c3ef6fef2fe30804d23bb857.tar.bz2 patchage-5d588ee9d7fb7da1c3ef6fef2fe30804d23bb857.zip |
Use "override"
Diffstat (limited to 'src/JackDbusDriver.hpp')
-rw-r--r-- | src/JackDbusDriver.hpp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/JackDbusDriver.hpp b/src/JackDbusDriver.hpp index 1812298..acbdc77 100644 --- a/src/JackDbusDriver.hpp +++ b/src/JackDbusDriver.hpp @@ -37,20 +37,21 @@ class JackDriver : public Driver { public: explicit JackDriver(Patchage* app); - ~JackDriver(); - void attach(bool launch_daemon); - void detach(); + ~JackDriver() override; - bool is_attached() const; + void attach(bool launch_daemon) override; + void detach() override; + + bool is_attached() const override; bool is_realtime() const; - void refresh(); - void destroy_all(); + void refresh() override; + void destroy_all() override; - bool connect(PatchagePort* src, PatchagePort* dst); + bool connect(PatchagePort* src, PatchagePort* dst) override; - bool disconnect(PatchagePort* src, PatchagePort* dst); + bool disconnect(PatchagePort* src, PatchagePort* dst) override; uint32_t get_xruns(); void reset_xruns(); @@ -61,9 +62,10 @@ public: jack_nframes_t buffer_size(); bool set_buffer_size(jack_nframes_t size); - void process_events(Patchage*) {} + void process_events(Patchage*) override {} - PatchagePort* create_port_view(Patchage* patchage, const PortID& ref); + PatchagePort* + create_port_view(Patchage* patchage, const PortID& ref) override; private: void error_msg(const std::string& msg) const; |