From 201a23cf05fca67702f5d1bbc214bcfd6cc442b4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Nov 2020 22:42:55 +0100 Subject: Remove more dead code --- src/AlsaDriver.hpp | 4 ---- src/JackDbusDriver.hpp | 1 - src/Patchage.hpp | 13 +++---------- 3 files changed, 3 insertions(+), 15 deletions(-) (limited to 'src') diff --git a/src/AlsaDriver.hpp b/src/AlsaDriver.hpp index 2f4b1e3..1c57c02 100644 --- a/src/AlsaDriver.hpp +++ b/src/AlsaDriver.hpp @@ -22,9 +22,7 @@ #include #include -#include #include -#include class ILog; @@ -52,8 +50,6 @@ public: bool connect(PortID tail_id, PortID head_id) override; bool disconnect(PortID tail_id, PortID head_id) override; - void print_addr(snd_seq_addr_t addr); - private: bool create_refresh_port(); static void* refresh_main(void* me); diff --git a/src/JackDbusDriver.hpp b/src/JackDbusDriver.hpp index cbf6b47..9727fd6 100644 --- a/src/JackDbusDriver.hpp +++ b/src/JackDbusDriver.hpp @@ -21,7 +21,6 @@ #include "Driver.hpp" #include -#include #include #include diff --git a/src/Patchage.hpp b/src/Patchage.hpp index eadcb58..8f0cb9a 100644 --- a/src/Patchage.hpp +++ b/src/Patchage.hpp @@ -76,17 +76,10 @@ public: const std::shared_ptr& canvas() const { return _canvas; } - Gtk::Window* window() { return _main_win.get(); } - ILog& log() { return _log; } - Metadata& metadata() { return _metadata; } - + Gtk::Window* window() { return _main_win.get(); } + ILog& log() { return _log; } + Metadata& metadata() { return _metadata; } Configuration* conf() const { return _conf; } - JackDriver* jack_driver() const { return _jack_driver; } -#ifdef HAVE_ALSA - AlsaDriver* alsa_driver() const { return _alsa_driver; } -#endif - - Glib::RefPtr xml() { return _xml; } void attach(); void save(); -- cgit v1.2.1