diff options
author | David Robillard <d@drobilla.net> | 2020-11-28 22:42:55 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-28 22:49:10 +0100 |
commit | 201a23cf05fca67702f5d1bbc214bcfd6cc442b4 (patch) | |
tree | c05a476af56c4fe38ffb85d29cf7d249eac70efd /src | |
parent | 986742304796e127aada3d03f7e714134e3cffb1 (diff) | |
download | patchage-201a23cf05fca67702f5d1bbc214bcfd6cc442b4.tar.gz patchage-201a23cf05fca67702f5d1bbc214bcfd6cc442b4.tar.bz2 patchage-201a23cf05fca67702f5d1bbc214bcfd6cc442b4.zip |
Remove more dead code
Diffstat (limited to 'src')
-rw-r--r-- | src/AlsaDriver.hpp | 4 | ||||
-rw-r--r-- | src/JackDbusDriver.hpp | 1 | ||||
-rw-r--r-- | src/Patchage.hpp | 13 |
3 files changed, 3 insertions, 15 deletions
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 <alsa/asoundlib.h> #include <pthread.h> -#include <map> #include <set> -#include <string> 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 <dbus/dbus.h> -#include <glibmm/thread.h> #include <cstdint> #include <string> 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<PatchageCanvas>& 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<Gtk::Builder> xml() { return _xml; } void attach(); void save(); |